Skip to content

fix(pr-pipeline): re-fire an issue lane run cancelled at pick-slot #9095

Closed

Description

@kyle-sexton

Problem

An issue lane run whose pick-slot job is cancelled is never re-fired, so the issue keeps agent-ready with no run and no PR.

Observed on #8087: its only run, 39711139895 (2026-10-22T02:23:48Z), ended cancelled. admit succeeded, pick-slot was cancelled, every later job skipped. The issue still carries agent-ready with no lane PR.

Cause

  • pick-slot has timeout-minutes: 5 (.github/workflows/work-resolve-issue.yml:104); a job that hits it while waiting in the WIP-cap step ends cancelled.
  • work-unblock re-fires only FAILED = new Set(["failure", "timed_out", "startup_failure"]) (.github/scripts/work-unblock/label-unblocked.mjs:116), so a cancelled run is never retried.
  • maintenance-reconcile-lost-runs does not pick it up either.

Done when

  • A work-resolve-issue run that ended cancelled before resolve-issue started (no lane branch, no outcome marker) is re-fired like a failed run, under the same refire dedupe marker.
  • A run cancelled by a newer run for the same issue (concurrency) is not re-fired.
  • A test covers both cases.

Out of scope

Changing pick-slot's timeout.

Protected path (.github/**): built attended by Automation Lanes, not admitted to the lane.

Activity

  1. added theissue type on Oct 22, 2026
  2. added
    needs-human
    status: confirmed
    on Oct 22, 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-humanstatus: confirmed

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions