Repository navigation
Description
Problem
When a check fails on a ProPR pull request, Auto CI follow-up starts a run on the PR, and the suspension reconciler (src/jobs/followupCiSuspensionCancel.ts, log line "Suspended pull request validation for the duration of the follow-up implementation") cancels every CI run on that head until the follow-up finishes. This includes a manual re-run of the failed job.
Two things are wrong (issue #3680, item 9):
- Nothing on the PR says CI is suspended or why. A person sees checks cancelled a few minutes in on a head nobody pushed over, re-runs them, and they are cancelled again. Seen on [3607 by Claude Opus 5.5] Analytics, logs and lists: clipped cost column, off-screen table columns, and one format for times, counts and status colours #3648 (four reruns), [Epic] 0.9.2 release fixes: API, core, tests and bot comments #3630 (twice), [3693 by Claude Opus 5.5] Tap targets under 32 px left after #3609 #3699 and [3684 by Claude Opus 5.5] Bump bundled coding agents (Codex 0.170.0, Claude Code 2.1.327, Antigravity 1.5.11) and retire the OpenCode free model GLM 5.3 Flash Free #3697 (re-runs cancelled 18 s and 62 s after starting). Ultrafix then waits on checks that never finish.
- A code follow-up is started for a failure the code cannot fix. When the failure is a runner or infrastructure problem (for example the Chromium install timing out on a stalled apt mirror, CI: Chromium install times out when the hosted runner's apt mirror stalls on font packages #3703), the follow-up agent has nothing to change, and the head is left with cancelled checks.
Expected
- While validation is suspended for a follow-up, the PR's status line (the status block ProPR keeps in the PR body) says that CI is suspended until the follow-up finishes, and that re-running checks before then has no effect. The text disappears when the suspension ends.
- When a run is cancelled by the suspension, that is visible to a person looking at the PR without reading worker logs. Use the existing status block; do not add a new comment per cancellation.
- A CI failure that is infrastructure-only does not start a code follow-up and does not suspend validation. Instead the failed jobs are re-run once (or, if re-running is not possible, the PR says the failure looks like a runner problem and names the job). Decide "infrastructure-only" conservatively from evidence already collected for the CI-failure comment: for example the failing step is a setup/install step and the log shows a network, mirror, registry or runner-shutdown error with no test or compile failure. When in doubt, treat it as a code failure, as today.
Acceptance
- Unit tests for the status-line text during and after a suspension.
- Unit tests for the infrastructure-only classifier: at least the apt mirror stall from CI: Chromium install times out when the hosted runner's apt mirror stalls on font packages #3703, a runner shutdown/lost-communication message, and a registry 5xx during install classify as infrastructure; a failing test, a type error and a lint error do not.
- A test that an infrastructure-only failure neither enqueues a follow-up nor records a suspension.
- Existing follow-up and suspension tests still pass.
Implementation
Read src/jobs/followupCiSuspensionCancel.ts, packages/core/src/webhook/ciFailureFollowup.ts, packages/core/src/webhook/ciFailureCommentGrouping.ts and packages/core/src/services/pullRequestStatus/pullRequestStatusBlock.ts first. Add the suspended state to the status block through the existing rendering path so it follows the same update and rate rules as other status changes. Put the classifier next to the CI-failure evidence code and keep it a pure function over the evidence so it is unit-testable. Do not change how long a suspension lasts or which runs it cancels for real code failures.
Activity
propr-dev commentedon Nov 19, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53725/claude-opus-5-5-follow-up-ci-suspension-s-20261119-0338-xhs3725-epic-0-9-0wsissue-3725-20261119-0338-claude-opus-5-5-xhs🔍 Track Task Execution
I've implemented both parts of #3725. All the affected suites pass (a…
feat(ai): The F10 fix is in place and tested. My attempt to update th…
[3725 by Claude Opus 5.5] Follow-up CI suspension: say so on the PR, …