refactor(depot): remove sqlite cold storage#5180
Conversation
Deletes OSS S3 cold-tier code and rewires Depot compaction/read/reclaim to remain FDB/hot-only. Removes workflow_cold_storage config/schema and AWS S3 dependencies so old cold-storage config fails as an unknown field. Retains the unstable SQLite commit-size-cap opt-out in the same config/schema artifact.
|
Stack for rivet-dev/rivet
Check out this stack: |
|
🚅 Deployed to the rivet-pr-5180 environment in rivet-frontend
|
Code Review: refactor(depot): remove sqlite cold storageOverviewThis PR strips the OSS S3 cold-tier from the depot package entirely, removing around 18,000 lines of code across the cold compacter workflow, cold read path, shard-cache fill workers, cold manifest types, and cold-tier S3/filesystem implementations. It rewires compaction and read to be FDB/hot-only, and promotes the previously TODO-commented commit size cap to an enforceable constraint with a config-gated opt-out. This is a well-scoped cleanup PR. The removal is thorough and the new CLAUDE.md hard constraints clearly document what must not be reintroduced. Correctness
In Burst mode
Doctor / MigrationCold FDB key detection removed from The three cold-compact metadata key checks and two cold shard/retired-cold-object prefix scans are removed from Config / Breaking Change
The PR description calls this out: New The field is Test Coverage
The cold read path tests are rightfully deleted. However, Inline This file tested cold job planning and manager effects that no longer exist, so deletion is appropriate. The retained skeleton/payload tests should cover hot and reclaim paths adequately. Burst-mode test is updated correctly
Minor
SummaryClean, thorough removal. Main items worth a follow-up:
|
Deletes OSS S3 cold-tier code and rewires Depot compaction/read/reclaim to remain FDB/hot-only.
Removes workflow_cold_storage config/schema and AWS S3 dependencies so old cold-storage config fails as an unknown field. Retains the unstable SQLite commit-size-cap opt-out in the same config/schema artifact.