fix(test): remove tower and watch load flakes - #363
Conversation
Await the foreign-reconcile tower exit during restore so ownership release cannot outlive the service, stub the logger in every forked tower test, and poll for chokidar signal events instead of sleeping.
|
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 configuration
📒 Files selected for processing (3)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe tower reconciliation path now awaits exit when another present session owns the tower. Tower tests add log-service stubs to secondary instantiation services. Two watcher tests poll for file-created events instead of using fixed delays. ChangesTower reconciliation and tests
Watcher tests
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The restore-ordering fix and test updates have no established merge-blocking risk. Merge after normal checks. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The change tightens restore ordering without adding access or authority. Ownership remains session-guarded, but complete cleanup under failure and repeated restoration is only partially established. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkResolution Complete the required sections: identify the bug or requirement, add reproduction steps, explain the root cause and whether the fix is fundamental or a workaround, describe the code changes, document observable behavior with affected modules and test coverage, and complete the checklist. State why no changeset and documentation update are needed.
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 |
commit: |
[skip changeset] Test and restore-ordering fix only; nothing users can see.
Summary by CodeRabbit