Repository navigation
Description
Out of scope
Changing CI budgets, fixing the Settings layout fixture, rerunning failed jobs, or treating every cancellation as a product failure.
Context
Main run 44922440401 at 70970e41a997869e97e06a72f5dd949b244ea1f0 concluded cancelled. Its selected layout (2) job 136901511869 failed, pack job 136901511812 exceeded its five-minute job timeout, and the integrated proof aggregate failed. Nevertheless the subsequent coordinator run 44924932156 succeeded without opening an incident, and integrate.ts main-status reported red:false with no open record.
handleMainRun (scripts/red-main-coordinator.ts:217-233) returns whenever run.conclusion !== "failure" (scripts/red-main-coordinator.ts:233), before inspecting failed-job evidence. A cancelled run can contain failed selected jobs, so this bypasses the red-main record and leaves ordinary merge admission open while main is broken. The hybrid ruling still applies to which failure families block merges; detection must retain the real failed set first.
Scope
Determine main failure from the aggregate and selected-job results as well as the outer workflow conclusion. Preserve intentional cancellation behavior when no selected job failed.
Acceptance criteria
- A main run whose aggregate failed, or any of whose selected jobs failed, opens the incident regardless of the run's conclusion.
- A run cancelled for supersession with no failed job does not open an incident.
- Keyless tests cover both cases and preserve failure-family admission under the hybrid ruling.
Verification
Extend tests/red-main.test.ts with recorded cancelled-run/job fixtures. Show both cases failing first where appropriate and kill a mutation restoring the unconditional non-failure return. Run the affected coordinator and admission tests and exact-head preflight.
Contract impact
None; CI coordination and admission only.
2026-11-23 triage at main a3395c4: corrected the handleMainRun range (was :216-234); confirmed run 44922440401 concluded cancelled at 70970e41a.
Activity