Repository navigation
Open
Labels
Description
This was generated by AI during triage.
From a 2026-11-10 investigation of why the Fix run Pass never repaired the Merge conflicts on #1823 and #1935.
Agent Brief
Category: enhancement
Summary: A Pass that skips every time it fires looks healthy. The Console's Cron jobs page says "Fix run last fired 89 sec ago", and the Activity log only records a skip when its reason changes. A Fix run Pass skipped for 11 days on thirdshift.app and nobody saw it.
Current behavior:
- The cron line
1-59/2 * * * * cd ~/repos/thirdshift && thirdshift fix base mainon thirdshift.app fired every two minutes. Since its Pass shipped, it started no Fix run: nocommands/fix/directory existed under its logs. - Its Activity log had only these lines, one per change of reason:
Fix run skipped: at the Command limit on JacobStephens2/thirdshift: 1 Command is running, pass.command_limit is 1, andFix run skipped: Base branch CI is reserved on origin(an orphanedci-redreservation held since 2026-10-30). - Cron jobs' "Last fired by repository" counts a skipped Pass as fired.
- Keep repositories visible on Inbox rows without an issue #1823 and Spec:
in-progressmarks only a live Run #1935 showed a Merge conflict pill and a Copy fix command in Ready for review, with nothing saying that the scheduled Fix run Passes kept skipping.
Desired behavior:
Show how long a scheduled Pass has gone without doing work, and why:
- Cron jobs ("Last fired by repository") separates the last start that did work from the last skip, and gives the current skip reason and how long it has held, e.g. "Fix run: last did work never; skipping since 2026-10-30 10:21: Base branch CI is reserved on origin".
- A Ready for review row with a Merge conflict or CI red, on a repository where a Fix run Pass is firing, says why no Fix run has taken it, e.g. "Fix run Passes have skipped for 11 days: Base branch CI is reserved on origin".
- Optional: once a Pass has skipped for the same reason past a threshold, it shows up in Needs you. This is not a timer on any reservation; it only reports.
Key interfaces:
src/logs/pass_starts.rsand the per-repository<kind>.last-firedfiles: record the outcome (worked or skipped, and the reason) and the time it began, not just the last start.src/console/cronjobs.rs: shows them.- Inbox Ready for review rows with Merge conflict or CI red.
cronjobs --jsonandstatus --jsonpass_starts: add the outcome, reason and since-when, keeping the existing fields.
Acceptance criteria:
- After several skips for one reason, Cron jobs shows the reason and when the run of skips began, apart from the last fired time.
- A Pass that starts work resets the run of skips.
- A Ready for review row with a Merge conflict shows the current Fix run Pass skip reason on that machine when there is one.
-
activity.quiet_skipsstill keeps skips out of the Activity log. The Console's state is recorded either way. - Existing
pass_startsJSON fields are unchanged.
Out of scope:
- Changing why Passes skip.
Activity
JacobStephens2 commentedon Nov 10, 2026
A related case to cover here: a Ready issue that every Pickup run passes over is invisible too.
On 2026-11-10, Spec #1901 was labelled
ready-for-agent, and Pickup runs ontest,orchestrateandlima-thirdshiftlogged#1901 every Ticket is closedevery two minutes. The Console's Overview showed nothing about it: it lists Commands, not issues, and its two dead Spec run rows had been dismissed to Resolved. From the Console and GitHub alone, it looked as if #1901 should have been running.The passed-over reasons already exist: Pickup prints them on stderr (
blocked by,every Ticket is closed,has no Ticket that can start,started: …). Theready.rssearch computes them.Proposed addition to this issue's Desired behavior:
in-progressmarks only a live Run #1901, every Ticket is closed (3 machines, since 13:03)".status --jsonexposes the same, besidepass_starts.Additional acceptance criterion:
ready-for-agentissue that a Pickup run passed over on its last pass appears in the Console with the pass-over reason, and disappears once a Command takes it or its label changes.Taking such a Spec when its Spec branch is on
originis tracked separately (#1964).JacobStephens2 commentedon Nov 11, 2026
Investigation summary
Confirmed the visibility gap against selected Base commit 960513a, which equals local main. The expanded request needs a Spec split and decisions about observation freshness before unattended implementation.
Evidence:
Acceptance correction: activity.quiet_skips suppresses terminal output, not Activity logging. Reason changes remain recorded, as required by ADR 0011 and docs/guide.md:3043. Preserve that behavior while recording the new state independently.
Recommended next steps
Keep #1960 open as ready-for-human and shape the four Tickets proposed in the questionnaire. Preserve existing pass_starts fields and legacy timestamp readability; represent unavailable historical work information as unknown rather than asserting never. Cover unchanged skips, changed reasons, work-start reset, overlapping Passes, legacy records, partial Pickup searches, issue removal and stale Fleet observations.
Keep selection changes outside this work: #1964 covers completed-Spec pickup, #1958 covers the Fix CI-reservation gate, #1959 covers orphaned reservations, #1962 covers Review-specific explanations, and #1969 covers Fleet schedule inventory. These are related, not duplicates. Update the guide, generated manual and relevant hand-written site descriptions with implementation.
Questionnaire
For the Day shift shaping #1960: investigation confirms the missing Pass history and per-issue Pickup observations. Existing idle_passes already expose the last recorded reason, and quiet_skips preserves Activity reason changes. Please settle these decisions before handing the expanded work to agents.
JacobStephens2 commentedon Nov 11, 2026
Moved to
ready-for-humanfor a grill with the Day shift, not a machine triage. The body and the comment above describe the gap, but the remaining choices are about Console design and policy:pass_startsfields.