Skip to content

in-progress stays on issues whose Run has ended, so the label doesn't show what is running #1165

Closed as not planned

Description

@JacobStephens2

in-progress reads as "a Run is working on this", but a Claim outlives the Run that made it. Once a Run ends with its PR ready for review, or fails with an Issue branch or PR on origin, the label stays until the Day shift relabels the issue or it closes (GLOSSARY.md, Claim). So the open in-progress list mixes live Runs with Runs that ended hours ago. The Day shift can't use it to answer "what is running now?" without running thirdshift status on every host.

What the label showed on 2026-10-23, against thirdshift status on thirdshift.app, stephens.page, dev and orchestrate

Issue Labelled in-progress Actually
#1055 yes live Run on thirdshift.app
#1054 yes live Run on orchestrate
#1043 yes ended, PR #1161 ready for review (orchestrate)
#965 yes ended 2026-10-22, PR #1093 ready for review
#957 yes ended 2026-10-22, PR #1090 ready for review
#981 yes Spec run ended failed, draft PR #1141 preserved
#978 yes Spec run ended failed, draft PR #1138 preserved
#977 yes Spec run ended failed: 4 Tickets labelled ready-for-human, draft PR #1122 preserved

2 of 8 were running. Each ended Claim is working as the glossary specifies. The problem is that one label carries three states: running, waiting on review, and failed awaiting the Day shift.

Why it matters

  • Trust: the issue list is the cheap place to look, and it overstates the factory's live work.
  • Claim limit: a Pickup run counts every open in-progress issue against pickup.limit. Ended Runs waiting on review or repair hold Pickup back as if they were running, and a host on the default limit of 3 stalls after three unreviewed PRs.

Open questions for triage

  • Should a Claim keep meaning "the factory has taken this", with liveness shown some other way? Options: a second label for a live Run, or the label coming off at Run end and the PR alone standing for the work.
  • Or should an ended Run swap in-progress for a label that says what the Day shift owes it, such as ready for review vs failed, needs repair?
  • Should the Claim limit count only live Runs, or keep counting ended Claims as back-pressure on unreviewed work?

Related: #710 (a killed Run's Claim), #833 (which machine holds a Claim), #585 (Spec runs waiting for the Day shift vs failed).

Activity

  1. added
    needs-triage
    on Oct 23, 2026
  2. JacobStephens2 commented on Oct 23, 2026

    @JacobStephens2
    OwnerAuthor

    Proposed direction (Day shift, 2026-10-23)

    A Failed run swaps in-progress for a new label, run-failed, instead of keeping its Claim, whenever the Claim would be kept today because work is on origin. A failed Security fix, which keeps its Claim today to stay with the Day shift, gets it too. A Stop still goes to needs-triage, and a Claim with nothing on origin is still released to ready-for-agent.

    • run-failed is neither ready-for-human nor ready-for-agent. ready-for-human is a triage role that makes a Ticket unready. ready-for-agent would let Pickup retry at once.
    • Pickup never takes it, because a Ready issue needs ready-for-agent. Retrying stays a Day shift act: apply ready-for-agent, which the Ready-issue rule already accepts as "handed back after the last Claim ended", and Pickup starts a Continuation on the preserved branch and PR.
    • It does not count toward pickup.limit. The Claim limit counts live Claims only.
    • Making a Claim takes run-failed off, and the Sweep takes it off closed issues, as both do for in-progress.

    A Spec run that stops for the Day shift is not a Failed run. When the Tickets left undone are each ready-for-human, or blocked only behind ones that are, the Spec swaps in-progress for ready-for-human rather than run-failed. This overlaps #585.

    Still open:

    • Recovery on the issue. A Failed run's Recovery lines (where it stopped, what was preserved, the continue command, and which host to run it from) live only in the command log and the Run notification. Posting them as an issue comment would let the label be acted on from GitHub alone.
    • Ready for review. A Run whose PR waits for review still keeps in-progress. This direction doesn't cover that case.

    Stale labels fixed by hand today

  3. added
    enhancement
    on Oct 25, 2026
  4. JacobStephens2 commented on Nov 9, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during a grill-with-docs session.

    Grilled in docs/grill-with-docs/1165-claim-labels.md, with ADR 0029. Now Spec #1901, with Tickets #1902, #1903 and #1904. #1905 is a one-time cleanup after release, and #1906 was split out. This issue closes when #1901 lands.

  5. added 2 commits that reference this issue on Nov 9, 2026
  6. JacobStephens2 commented on Nov 10, 2026

    @JacobStephens2
    OwnerAuthor

    Superseded by Spec #1901 (Tickets #1902–#1904), which came out of the #1165 grilling. Closing so a Triage Pass doesn't pick it up.

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

    enhancementneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions