Skip to content

skills(running-tend): nightly defers repo-wide CI breakage to tend-ci-fix - #3320

Merged
max-sixty merged 5 commits into
mainfrom
daily/review-runs-28361631224
Jul 23, 2026
Merged

max-sixty merged 5 commits into
mainfrom
daily/review-runs-28361631224

Conversation

@worktrunk-bot

@worktrunk-bot worktrunk-bot commented Jun 29, 2026 •

Copy link
Copy Markdown
Collaborator

What

Adds a "Repo-Wide CI Breakage" note to the nightly reference (.claude/skills/running-tend/references/nightly-cleaner.md): a failure that reproduces identically on main and every PR belongs to tend-ci-fix, which fires on any ci-workflow failure on main, and a non-required job failing is enough to trigger it. It does not fire on runs that end cancelled, so the nightly records the breakage in its summary rather than assuming the handoff lands.

Also updates the SKILL.md reference index, which listed only "branch naming" for a file covering three topics.

Why

A nightly run shipped its sweep PR, then while polling that PR's CI diagnosed an unrelated repo-wide code-coverage break and started a second fix it did not finish, stranding the work on a pushed branch with no PR. Two workflows chasing the same repo-wide break duplicate effort and can produce conflicting PRs.

Which workflow owns that break is not derivable from the nightly's own context, and it is documented nowhere else in the repo's skills (the only other mention of ci-fix is a label description). That is the whole of what this PR adds.

What was cut, and why

Earlier revisions carried a session-budget rule as well: the session has no room for a second deliverable, so ship one thing and stop. That rested on a 3600s harness cap. The cap has been 10800s since tend 0.1.9 and becomes 21000s once the pending tend release lands, so the claim does not hold at current durations, and its evidence was a single run. Removed.

The routing advice also needed a correction rather than a restatement. tend-ci-fix gates on conclusion == 'failure' (.github/workflows/tend-ci-fix.yaml:18), so a ci run cancelled by rapid pushes never triggers it. Presenting the handoff as reliable would send a real breakage nowhere, so the note names the gap.

Status of the breakage that prompted this

Resolved independently: cache-apt-pkgs-action no longer appears anywhere under .github/ on main, so the pin mismatch the nightly diagnosed is gone. The orphan branch fix/ci-cache-apt-pkgs-pin-sha is still on the remote and is now moot.

🤖 Generated by the tend review-runs workflow (run), revised since.

This was written by Claude Code on behalf of max

…d-ci-fix

Run 28357689944 timed out at the 3600s session cap after shipping #3318
(merged) then chaining a second cache-apt-pkgs-action fix PR, stranding the
branch fix/ci-cache-apt-pkgs-pin-sha (pushed, no PR). Add a nightly-reference
rule: ship the sweep PR, monitor only its CI, and leave unrelated repo-wide
CI breakage to the dedicated tend-ci-fix workflow.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@worktrunk-bot worktrunk-bot added the review-runs Findings from the daily review-runs workflow label Jun 29, 2026
max-sixty and others added 4 commits July 22, 2026 18:07
The note pinned the cap at "~60 minutes / 3600s", which held only while
worktrunk pinned tend 0.1.7. The default has been 10800s since 0.1.9 and
becomes 21000s once the pending tend release lands, so the figure was already
wrong and would keep drifting. The rule it supports (ship one deliverable)
does not depend on the number.

Also drops the run id, PR number, and branch name from the worked example.
A skill states the recurrence pattern generically; a specific run ages into
noise and reads as load-bearing.

The SKILL.md reference index listed only "branch naming" for a file that
covers three topics.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Two sentences carried the same point (killed mid-work, result event
pre-empted, summary lost). Keeps the mechanism and drops the repetition.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
The session-budget framing rested on a 3600s cap that is now 10800s, and 21000s
once the pending tend release lands. At those durations the "no budget for a
second deliverable" claim does not hold, and the evidence behind it was a single
run.

What remains is the part an agent cannot derive: which workflow owns a repo-wide
CI break. tend-ci-fix gates on `conclusion == 'failure'`, so it skips runs that
end `cancelled`. The note now says to record the breakage rather than assume the
handoff lands.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@max-sixty
max-sixty merged commit 784de4a into main Jul 23, 2026
36 checks passed
@max-sixty
max-sixty deleted the daily/review-runs-28361631224 branch July 23, 2026 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-runs Findings from the daily review-runs workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants