Repository navigation
fix(cloud): tolerate sparse director errors in rollout monitor - #20238
Conversation
|
This run was cancelled 🛑 The workflow was cancelled before completion. Please check the link below for details. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthroughThe incident monitor now allows up to three Priority: ⬇️ Low Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to The rollout monitor change is covered by matching implementation, documentation, and regression tests with no unresolved merge-blocking risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description explains the change, motivation, scope, risks, and validation, but it omits required template sections and information, including the linked issue, explicit ELI5, Visual Proof with Resolution Use the repository template headings. Add the issue reference after
✨ Finishing Touches📝 Generate docstrings
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 |

The production serving-cell upgrade repeatedly stopped before changing any cells because its monitor required zero unexpected director errors. The observed baseline was three HTTP 500s in an hour (about 33,600 responses), caused by two-second PostgreSQL connection timeouts.
Allow up to three non-503 director 5xx responses per rolling five-minute window; four freezes the rollout. Auth remains zero-tolerance, and freshness, probes, SQL/pool pressure, latency, capacity, and migration gates are unchanged. This bounded allowance does not resolve the underlying intermittent timeouts and can permit persistent low-frequency errors below the limit. No runtime deployment is needed for this monitor-source change.
Validation: regression demonstrated red before the change; relay-ops suite 96 tests passed across 12 files; relay-ops typecheck passed. Boundary coverage verifies 1–3 allowed, 4 blocked, and auth/CPU gates still block. Astra low independently reviewed the threshold approach. Fresh strict monitor evidence is required before the fleet rollout resumes.