-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: snapchain migration #2443
base: main
Are you sure you want to change the base?
WIP: snapchain migration #2443
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
No dependency changes detected. Learn more about Socket for GitHub ↗︎ 👍 No dependency changes detected in pull request |
|
Why is this change needed?
Describe why this issue should be fixed and link to any relevant design docs, issues or other relevant items.
Merge Checklist
Choose all relevant options below by adding an
x
now or at any time before submitting for reviewPR-Codex overview
This PR introduces a new
PruneMessages
RPC method and associated request/response structures, enhancing message management capabilities. It also implements caching and message pruning functionalities across various components, improving performance and data consistency.Detailed summary
PruneMessagesRequest
andPruneMessagesResponse
messages inprotobufs/schemas/request_response.proto
.PruneMessages
RPC method inprotobufs/schemas/rpc.proto
.clearCachedMessageCount
andclearStorageCacheForFid
methods inapps/hubble/src/storage/stores/storeEventHandler.ts
.packages/shuttle/src/shuttle/index.ts
to export migration-related functionalities.StorageCache
withclearMessageCount
method for cache management.L2EventsProvider
to support a stopping block for event syncing.packages/shuttle/src/shuttle/messageReconciliation.ts
.packages/shuttle/src/shuttle/migration.ts
.apps/hubble/src/rpc/adminServer.ts
to handle new RPC methods and logging.