Repository navigation
refactor(coordinator): isolate response cache and refresh ownership - #1006
Gajesh2007 wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Consolidated into #1056 for review and merge after #1094, #1095 and #1096. #1056 contains this branch's exact head ( |
Response-cache storage, invalidation generations and refresh locks were embedded in the HTTP package. Move their ownership into
api/readcache, with focused cache, generation-fence and refresh-coalescing files.The API keeps endpoint keys, TTLs, refresh schedules and error telemetry. The cache map and mutexes remain private. Catalog fills use typed generation-fenced setters so an in-flight read cannot republish stale data after an admin sync. Refresh failures preserve the previous success only until its original expiry; concurrent misses still share one computation.
Stacked on #1003, after #909 and #997.
Before:
After:
Validation:
-race; three pure cases move to the cache owner.make docs-checkpasses (280 pages).Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.