Migrate resource and Composer queries to native remote caching - #1181
Open
jasonhedman wants to merge 7 commits into
Open
Migrate resource and Composer queries to native remote caching#1181jasonhedman 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-database
branch
from
September 8, 2026 20:34
98ba30c to
06b045d
Compare
jasonhedman
force-pushed
the
json/native-cache-database
branch
from
September 8, 2026 20:41
06b045d to
aa71b13
Compare
jasonhedman
force-pushed
the
json/native-cache-database
branch
from
September 8, 2026 21:19
aa71b13 to
ef861f0
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-database
branch
from
September 9, 2026 15:02
ef861f0 to
71cd0d1
Compare
jasonhedman
force-pushed
the
json/native-cache-database
branch
2 times, most recently
from
September 9, 2026 15:13
ce66168 to
ebe678b
Compare
jasonhedman
force-pushed
the
json/native-cache-database
branch
from
September 9, 2026 19:14
ebe678b to
f39cc2e
Compare
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.
Migrates 20 resource, Bazaar, agent, Composer, and spending query functions to native remote caching. Query implementations and authorization boundaries stay intact.
The agent activity schema no longer injects a fresh endDate into every request: an omitted endDate is resolved inside the cached computation; explicit ranges stay in the key. Regression tests cover both cases. The spending time series keeps its one-minute hard expiration.
Removes the obsolete Redis query wrappers when their final database callers migrate. Only the existing TTL constant remains for discovery until the next PR, keeping this intermediate branch clean under Knip.
Review agent-config/stats/agent.ts and its tests, then resources/resource/index.ts and the other query wrappers.
Validation: full
pnpm checkpasses independently at every level of the rebased stack, including UI integrity, lint, types, tests, formatting, Knip, and boundaries. Remote cache persistence and stale-on-error behavior still require deployed validation; warming remains enabled.