Skip to content

CI Status strands a PR when the full run's gate job is cancelled by an action download timeout #1208

Backlog

Description

@kyle-sexton

Steps to reproduce

  1. A pull request gets two PR Require Checks runs on one head: the full run (from opened) and the contract-only run (from labeled, for example the standards-sync label added seconds later).
  2. The contract-only run's CI Status yields to the full run, by design: "superseded by full run ... It re-runs this run once it records ci-lanes=success".
  3. The full run's CI Status job dies before its first step because the runner cannot download the action: Failed to download action 'https://codeload.github.com/melodic-software/ci-workflows/tar.gz/07df326…'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. GitHub reports the job as cancelled.

Seen on melodic-software/cursor-plugins#202, head 727ac3d6b7ca2df59706a63d1dd97c31829deb08: full run https://github.com/melodic-software/cursor-plugins/actions/runs/45199539174 and contract-only run https://github.com/melodic-software/cursor-plugins/actions/runs/45199539288, 2026-11-23 14:56Z.

Expected behavior

A gate job killed by infrastructure gets retried, or the waiting run takes over, so a PR whose lanes all passed reaches a green CI Status without a person.

Actual behavior

The handoff happens only from inside the full run's CI Status job, which never ran. The PR stays red with every lane green until someone re-runs the cancelled job by hand. That is the documented remedy (.github/actions/pr-require-checks/aggregate-results/run.sh:1114: "Re-run that run only if it was cancelled"). A manual re-run of the failed jobs fixed #202, which then merged. A single-run PR whose CI Status job dies the same way is stranded too.

Severity

Low

Severity justification

One occurrence observed. It blocks merges without breaking anything, and one manual re-run clears it. It becomes worth fixing if it recurs: each time, a PR sits blocked until someone notices.

Suggested fix location

.github/actions/pr-require-checks/aggregate-results/run.sh. Smallest option: when the contract-only run finds the full run's gate concluded cancelled with no ci-lanes recorded, re-run that job once (its token already has actions: write), instead of failing at once. A broader option is a workflow_run: completed watcher that re-runs a cancelled CI Status job once while the PR head still matches. That one adds a caller in every consumer repository, so it needs the owner's go-ahead first.

Environment

GitHub-hosted runner, reusable PR Require Checks from ci-workflows at 07df326.

Activity

  1. added
    needs-triage
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions