fix(store): retain tombstone project on repeated sparse delete - #1514
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughSparse prompt deletes now check an existing prompt tombstone for project ownership before using session-based data. A regression test checks repeated deletes, pull cursor advancement, dead-letter entries, and project exports. The architecture documentation describes the related delete quarantine and ownership rules. ChangesSparse delete ownership
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to No actionable merge-blocking risk is identified for the sparse-delete ownership change; proceed with normal checks. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 2 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 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 |
|
@coderabbitai full review |
✅ Action performedFull review finished. |
313f526
into
Gentleman-Programming:feat/prompt-inbox-foundation-tracker
🔗 Linked Issue
Closes #1458
🏷️ PR Type
type:bug— Bug fix📝 Summary
📂 Changes
internal/store/store.gointernal/store/store_test.godocs/ARCHITECTURE.md🧪 Test Plan
go test ./internal/store -run ^TestPulledSparsePromptDeleteRetainsOwnTombstoneProjectWhileSessionLives$ -count=1— RED before fix (seq 3 dead letter), GREEN after.CODEX_HOME= go test ./internal/store ./internal/cloud/autosync -count=1— passed.CODEX_HOME= go test ./... -count=1;golangci-lint run --new-from-rev=HEADbefore commit;git diff --check— passed; existing full-package lint debt not resolved.🤖 Automated Checks
Pending on this PR head: issue/label policy, unit, E2E, plugin, lint, Windows and cloud wrapper.
✅ Contributor Checklist
type:*label (type:bug).💬 Notes for Reviewers
Feature branch chain: main ← tracker #1464 ← 📍 this correction. Only this 43-line unit belongs here; #1240 and inferred no-live tombstone provenance policy are out of scope. Normal merge into tracker only after exact-head CI and full review. Native review-dbd647c6eed7bef7 approved and acknowledged.
Summary by CodeRabbit