[graphql-stream] Add package caching from streamed checkpoints [5/n]#26194
Open
tpham-mysten wants to merge 1 commit intographql-streaming-checkpoints-objectsfrom
Open
[graphql-stream] Add package caching from streamed checkpoints [5/n]#26194tpham-mysten wants to merge 1 commit intographql-streaming-checkpoints-objectsfrom
tpham-mysten wants to merge 1 commit intographql-streaming-checkpoints-objectsfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Apr 10, 2026
Open
99ff176 to
3d503ab
Compare
bbeee9c to
82388bf
Compare
3d503ab to
fa3024f
Compare
Cache Move packages from streamed checkpoint ObjectSets into the shared PackageCache, enabling type resolution (e.g. contents.json) for recently published or upgraded packages without database access. * Add `insert` and `new_with_capacity` to PackageStoreWithLruCache * Add configurable `package_cache_capacity` to Limits (default 1024) * Extract and cache packages during checkpoint stream processing * Add tokio test verifying contents.json resolves end-to-end with DB-backed indexer for system package resolution Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
82388bf to
a00de91
Compare
8 tasks
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.
Description
Cache Move packages from streamed checkpoint
ObjectSetinto thePackageCache, enabling type resolution (e.g.contents.json) without database access for recently published or upgraded packagesNote:
Test plan
How did you test the new or updated feature?
cargo simtest -p sui-indexer-alt-e2e-tests --test graphql_subscription_testscargo nextest run -p sui-indexer-alt-e2e-tests --test graphql_subscription_tests -- test_subscription_object_jsonSUI_SKIP_SIMTESTS=1 cargo nextest run -p sui-indexer-alt-graphqlStack
Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.