perf(core): bound v3 purge state - #92
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (8)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe change adds authenticated purge plans for v3 held-tree manifests. It builds bounded postorder plans, validates records during streamed deletion, integrates the flow with recovery, and adds retry, corruption, path, xattr, replay, and file-descriptor tests. ChangesStreamed v3 purge
Estimated code review effort: 5 (Critical) | ~120 minutes Merge Risk: ⚪ Minimal · up to No concrete correctness, security, integrity, or availability issue remains that should block merging. Sequence Diagram(s)sequenceDiagram
participant VerifiedPurgeSession
participant TreeSidecarStore
participant TreePurgePlan
participant StreamedV3Purger
participant WAL
VerifiedPurgeSession->>TreeSidecarStore: build and seal v3 purge plan
VerifiedPurgeSession->>TreePurgePlan: authenticate plan
VerifiedPurgeSession->>StreamedV3Purger: execute plan records
StreamedV3Purger->>WAL: journal removal progress
StreamedV3Purger->>VerifiedPurgeSession: remove root and finish
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
PurgePlanWriterstore field and its lifetime.Validation
Passed locally on this branch:
The targeted staging suite ran 81 tests with 0 failures.
Safety
Summary by CodeRabbit
New Features
Bug Fixes