test: add archiver crash rollback and partitioner FK drop rollback journey stories#45
test: add archiver crash rollback and partitioner FK drop rollback journey stories#45imtiazqa wants to merge 2 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adds two new tiered E2E test stories to ci/journey.sh: story_archiver_rollback, which validates archiver crash recovery and self-healing, and story_partitioner_fk_drop, which validates partitioner failure and self-healing around FK-referenced expired partitions. Both are wired into the tiered execution path. ChangesJourney script E2E stories
Estimated code review effort: 3 (Moderate) | ~20 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 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 |
Up to standards ✅🟢 Issues
|
Adds two journey stories covering rollback behavior:
Archiver crash rollback — kills the archiver mid Phase 2, asserts data stays in PG, verifies Phase 0 self-heals on re-run
Partitioner FK drop rollback — inbound FK blocks expired partition drop, asserts fail-fast with SQLSTATE 23503 (no retry loop), self-heals after FK reference removed. Skipped in mesh mode with a NOTE.