Repository navigation
Restore explicit cache warming and resource invalidation - #1182
Open
jasonhedman wants to merge 7 commits into
Open
jasonhedman wants to merge 7 commits into
jasonhedman wants to merge 7 commits into
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
jasonhedman
force-pushed
the
json/native-cache-cleanup
branch
from
September 8, 2026 20:34
c070f33 to
b2ec005
Compare
jasonhedman
force-pushed
the
json/native-cache-cleanup
branch
from
September 8, 2026 20:41
b2ec005 to
311f333
Compare
jasonhedman
force-pushed
the
json/native-cache-cleanup
branch
from
September 8, 2026 21:19
311f333 to
7033155
Compare
jasonhedman
removed this pull request from stack #1183
September 9, 2026 14:39
jasonhedman
added this pull request to stack #1128
September 9, 2026 14:40
jasonhedman
marked this pull request as ready for review
September 9, 2026 14:43
jasonhedman
force-pushed
the
json/native-cache-cleanup
branch
from
September 9, 2026 15:02
7033155 to
c1b00e8
Compare
jasonhedman
force-pushed
the
json/native-cache-cleanup
branch
from
September 9, 2026 15:11
c1b00e8 to
7201f7d
Compare
jasonhedman
force-pushed
the
json/native-cache-cleanup
branch
from
September 9, 2026 15:13
7201f7d to
e2e4857
Compare
jasonhedman
force-pushed
the
json/native-cache-cleanup
branch
from
September 9, 2026 19:14
e2e4857 to
ed8f53a
Compare
jasonhedman
force-pushed
the
json/native-cache-cleanup
branch
from
September 14, 2026 14:46
ed8f53a to
cf77dfc
Compare
jasonhedman
force-pushed
the
json/native-cache-cleanup
branch
from
September 25, 2026 00:09
cf77dfc to
86b2f84
Compare
jasonhedman
force-pushed
the
json/native-cache-cleanup
branch
from
September 25, 2026 15:54
86b2f84 to
9c283bd
Compare
This branch was successfully deployed
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.
Completes query-cache cleanup with explicit Redis warming and registration invalidation. The cron refreshes its configured public queries and waits for a new publication; failed publications fail the task so retries can run. Ordinary readers may continue using the unexpired previous value during a refresh.
Resource registration rotates the shared resources generation and revalidates the server page. Older in-flight queries can only publish into their old generation. Warming context stays out of tRPC inputs and cache keys.
The external discovery catalog uses Next remote caching: failed/empty upstream refreshes preserve a successful catalog for up to 24 hours, and cold failures return an empty list. Redis owns database query results, probe sessions, and resumable chat streams. Removes the remaining old cache module and documents TTLs, isolation, lease behavior, and failure semantics in
src/lib/cache/README.md.Validation:
pnpm checkpasses independently at this layer. The complete application stack passes its production build, preserving prerendered shells and component-level streaming.