-
Notifications
You must be signed in to change notification settings - Fork 433
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 ↗︎
|
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
|
Report too large to display inline |
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 new functionality for pruning messages in the messaging system. It adds requests and responses for pruning messages, modifies existing methods to clear cached message counts, and updates various files to support these changes.
Detailed summary
PruneMessagesRequest
andPruneMessagesResponse
messages inprotobufs/schemas/request_response.proto
.PruneMessages
RPC inprotobufs/schemas/rpc.proto
.clearCachedMessageCount
andclearStorageCacheForFid
methods inapps/hubble/src/storage/stores/storeEventHandler.ts
andapps/hubble/src/storage/engine/index.ts
.pruneMessages
method inapps/hubble/src/cli.ts
andapps/hubble/src/hubble.ts
.pruneMessages
method inapps/hubble/src/rpc/adminServer.ts
with logging.packages/hub-nodejs/src/generated/request_response.ts
andpackages/hub-web/src/generated/request_response.ts
to include new message interfaces.packages/hub-nodejs/src/generated/rpc.ts
to include new RPC methods.packages/shuttle/src/shuttle/migration.ts
to integrate pruning functionality during message ingestion.