Repository navigation
Phase 1 (#65): bump edge-cache namespace to v2 - #67
Merged
neuromechanist merged 2 commits intoMay 26, 2026
Merged
neuromechanist merged 2 commits into
neuromechanist merged 2 commits into
Conversation
Deploying nemar-website with
|
| Latest commit: |
e53e982
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://88bd5ab9.nemar-website.pages.dev |
| Branch Preview URL: | https://feature-issue-65-edge-cache.nemar-website.pages.dev |
Comment-analyzer found the rationale block named the wrong cached keys: poisoned entries are responses from /api/dataset/<id>/readme and /api/dataset/<id>/tree (the partial endpoints), not the SSR /dataset/<id> page. Also add "(fixes #53)" next to "PR #54" so a future GitHub search lands on the original bug report.
neuromechanist
merged commit May 26, 2026
44aa3e6
into
feature/issue-66-epic-cold-paint
1 check passed
This was referenced May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
One-line bump of the Workers cache namespace
nemar-edge-v1->nemar-edge-v2insrc/middleware.ts, plus an inline rationale comment.PR #54 (the forward fix for #53) stopped new fallback HTML from being cached with SWR=86400 by tagging it
Cache-Control: no-store. But entries written under the previous policy are still alive in every PoP that holds them, and continue serving as HIT for up to 24 h. The user-visible symptom today (2026-05-26):ww2.nemar.org/dataset/on005505still renders "No description available" / "Manifest unavailable" even though the underlyingdata.nemar.orgartifacts are healthy.Bumping the cache namespace unreferences that entire pre-#54 fleet on the next deploy. v2 starts empty and warms up under the corrected policy.
Closes #65
Part of epic #66
Test plan
bun run typecheck— 0 errorsbun run lint— cleanbun run test— 370/370 pass (middleware.test.ts 23/23 green; no test changes needed — no-mocks policy precludes faking CacheStorage and the existing namespace constant has no observable behavior to test in isolation)curl -I https://ww2.nemar.org/discover?_t=freshreturnsx-nemar-cache: MISS(v1 entries orphaned)https://ww2.nemar.org/dataset/on005505no longer renders the poisoned fallback HTMLx-nemar-cache: HITagainst the v2 entry (new namespace warms up normally)