Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
bump: minor
---

### Changed

- work-unblock and the hourly triage sweep no longer stop an item for a person outside an intent or security question (owner intent, 2026-10-24):
- A stranded issue already re-fired on its lane workflow files, or a lane token request that keeps failing, is re-fired again on a backoff (three hours, doubling, at most 24) with one comment edited in place, never `needs-human`.
- A lanes App PR merged with `Refs:` or closed unmerged takes `status: ready` and `agent-ready` off and adds no `needs-triage`, so the triage sweep sends the issue back to intake, whose fresh `status: ready` re-admits it.
- A blocker closed by a listed human or a merge in this repository counts whatever its close reason, and another repository's blocker counts once a listed human closed it there (a merge there, or another repository's pull request blocker, never counts).
- A listed human's open pull request for an issue counts as work running on it, so work-unblock does not re-fire or relabel it.
- The triage sweep re-dispatches intake for any issue with no `status:` label and no `agent-ready` or person's hold, whatever comments intake left (an issue the lanes App opened included), and for a born-triaged issue in `status: ready` that nothing admitted. After two dispatches in one triage cycle (a work-unblock hand-back starts a new one) it labels the issue `needs-triage` and says so in its own comment on the issue, instead of filing a new issue, and later passes skip that issue unread while it carries `needs-triage`.
- Admission on a blocker's close takes the issues it would label oldest opened first (owner Q95) (`.github/scripts/work-unblock/label-unblocked.mjs`, `.github/scripts/maintenance-audit-lane-runs/triage-sweep.mjs`).
225 changes: 154 additions & 71 deletions .github/scripts/maintenance-audit-lane-runs/triage-sweep.mjs
Comment thread
kyle-sexton marked this conversation as resolved.
Resolved

Large diffs are not rendered by default.

364 changes: 275 additions & 89 deletions .github/scripts/maintenance-audit-lane-runs/triage-sweep.test.mjs

Large diffs are not rendered by default.

243 changes: 151 additions & 92 deletions .github/scripts/work-unblock/label-unblocked.mjs
Comment thread
kyle-sexton marked this conversation as resolved.
Resolved

Large diffs are not rendered by default.

252 changes: 211 additions & 41 deletions .github/scripts/work-unblock/label-unblocked.test.mjs

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions .github/workflows/maintenance-audit-lane-runs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ name: maintenance-audit-lane-runs
#
# A fourth job, triage-sweep, runs alone every hour (and with the daily run):
# it dispatches intake-triage.yml for open issues intake never reached, at
# most 5 a pass, and files one needs-triage issue for an issue 2 dispatches
# left untriaged. It uses the job's own token, never the lanes App.
# most 5 a pass, and labels needs-triage, with a comment on the issue, an issue
# 2 dispatches in one triage cycle left untriaged. It uses the job's own
# token, never the lanes App.
#
# How to stop it: set the organization or repository lanes kill-switch
# variable to anything but "false"; every job checks it first.
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/work-unblock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ name: work-unblock
# What this does, in plain words:
#
# When an issue closes, each issue it was blocking may now be ready to work.
# This workflow labels `agent-ready` each blocked issue that is open, has every
# blocker closed as completed by a listed human or a merge (a pull request
# blocker: merged), carries no hold label (needs-owner-decision,
# This workflow labels `agent-ready`, oldest first, each blocked issue that is
# open, has every blocker closed, for any reason, by a listed human or a merge
# in this repository (a pull request blocker: merged here; another
# repository's blocker: closed there by a listed human), carries no hold label (needs-owner-decision,
# status: needs-decision, status: needs-info, needs-human), and whose agent-ready label was never
# removed, or was marked `status: ready` by the lanes App or a listed human
# after its newest removal. That label starts work-resolve-issue.yml. The rules are in
Expand Down Expand Up @@ -34,10 +35,13 @@ name: work-unblock
# files`, or a run
# cancelled after admit and before resolve-issue started (pick-slot's timeout); a
# run a newer agent-ready run replaced is not. It does that once per issue
# per version of the lane's two workflow files on main, recorded in a comment.
# per version of the lane's two workflow files on main, recorded in a comment,
# and after that on a backoff (three hours, doubling each time, at most 24),
# recorded in one comment it edits; it never adds needs-human for it. An open
# pull request of a listed human's for the issue counts as work running on it.
# When that run opened a lanes-App PR instead, and the PR merged with `Refs:`
# or was closed unmerged, the App adds needs-triage and takes agent-ready off,
# after a comment; a person adding agent-ready again re-runs it. A Refs PR
# or was closed unmerged, the App takes `status: ready` and agent-ready off,
# after a comment, so the hourly triage sweep sends it back to intake triage. A Refs PR
# merging or closing unmerged also lifts a needs-human refs-hold already on
# the issue for it.
# report-outcome no longer sets that hold, so only an existing one is lifted.
Expand Down
19 changes: 11 additions & 8 deletions docs/conventions/pr-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,10 @@ activities:
label-unblocked:
# When an issue closes (or, hourly, for each issue a listed human or a
# merge closed in the last three hours), labels agent-ready each issue it
# blocked whose blockers are all closed as completed by a listed human or
# a merge, meaning a merged PR or a commit (a pull request blocker:
# merged; another repository's: never), that carries no
# blocked whose blockers are all closed, for any reason, by a listed human
# or a merge in this repository, meaning a merged PR or a commit (a pull
# request blocker: merged here; another repository's blocker: closed there
# by a listed human), oldest first, that carries no
# hold label, and whose agent-ready label was never removed or was marked
# `status: ready` by the lanes App or a listed human after its newest
# removal. The label
Expand All @@ -441,11 +442,13 @@ activities:
# admission rules, and admits it only on their admit verdict; a refusal
# moves it to `status: needs-decision` with a comment. Hourly it also
# re-fires an agent-ready issue left stranded (no run, or one that ended
# with no report, for three hours) once per version of the lane workflow
# files, then hands it to a person with needs-human and a comment; and it
# hands an agent-ready issue whose
# lanes-App PR merged with `Refs:` or closed unmerged to triage
# (needs-triage on, agent-ready off), lifting only the needs-human
# with no report, for three hours, and no open PR of the lanes App's or a
# listed human's for it) once per version of the lane workflow files, then
# on a backoff (three hours doubling, at most 24) with one comment it
# edits, never needs-human; and it hands an agent-ready issue whose
# lanes-App PR merged with `Refs:` or closed unmerged back to intake
# triage (`status: ready` and agent-ready off, which the hourly triage
# sweep dispatches intake for), lifting only the needs-human
# report-outcome set for a Refs PR that merged or closed unmerged. A
# script, no model.
# .github/workflows/work-unblock.yml runs it.
Expand Down
Loading