Skip to content

work-unblock: re-label reopened red-main fix issues so the issue lane starts #8881

Closed

Description

@kyle-sexton

A red-main fix issue that a recurrence reopens keeps agent-ready but never starts a lane run, so the fix waits until someone relabels it by hand.

Problem

Once #8805 lands, post-merge-demotion-alert.yml reopens a red-main fix issue on a repeat failure and keeps agent-ready without re-triage (owner decision, "go w/ recommended", relayed by Attended Build 2026-10-21). The reopen runs on that workflow's GITHUB_TOKEN. Events made with GITHUB_TOKEN start no new workflow runs, and work-resolve-issue.yml starts only on issues: labeled, so no lane picks the reopened issue up.

Proposed fix

work-unblock's hourly sweep already holds the lanes App token. Extend it to find open agent-ready issues that a recurrence reopened, identified by the recurrence comment #8805's reopen path posts, and remove and re-add agent-ready with the App token, so the labeled event starts work-resolve-issue.

  • Count the matches before relabeling and log the count.
  • Skip an issue that already has an open lane PR, or a run in flight for it.
  • Relabel each reopen once, keyed on the recurrence comment, so the hourly sweep does not keep re-firing it.

Acceptance

Refs: #8805

Activity

  1. added
    needs-triageNot yet classified. Floor until a type and one priority tier are set.
    on Oct 21, 2026
  2. github-actions commented on Oct 21, 2026

    @github-actions
    Contributor

    Proposed work class: none

    Thanks for the report. Automated triage handed this issue to a maintainer.

    Unconfirmed model suggestion: work-class: structural
    Basis: automated intake triage; a maintainer confirms or changes it.

    Automated triage. A maintainer reviews it.

  3. added
    needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.
    and removed
    needs-triageNot yet classified. Floor until a type and one priority tier are set.
    on Oct 21, 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-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions