Skip to content

feat(pr-pipeline): rerun a lane PR check that failed outside its changed paths #9271

Description

@kyle-sexton

Problem

When a lane PR goes red on a check its diff cannot have caused, nothing reruns the check or starts a fix run. Pipeline canary #9229 (PR #9235, plugins/planning/surface/round.py) failed test-macos-planning-shared on an unrelated test_tunnel flake (run 39867317913, filed as #9248). The PR sat red for about 40 minutes until a session ran gh run rerun --failed. #9014 reruns CI that failed only on an outside outage; a test flake is not covered.

Done when

  • A lane PR whose failing job's tests lie outside the PR's changed paths gets one automatic rerun of the failed jobs (gh run rerun --failed), with backoff and a per-PR cap of one.
  • If the rerun fails the same way, the pipeline files or updates a flake issue naming the test and run, and the PR is not blocked by that unrelated check, or a fix run starts. The spec picks one.
  • A test covers both the rerun and the second-failure path.

Found by pipeline canary round 2 (F9). Related: #9216 (self-heal), #9248 (the flake), #9014.

Activity

  1. added
    status: confirmed
    on Oct 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

    status: confirmed

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions