Repository navigation
skills(running-tend): nightly defers repo-wide CI breakage to tend-ci-fix - #3320
Merged
Merged
Conversation
…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]>
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 onmainand every PR belongs totend-ci-fix, which fires on anyci-workflowfailureonmain, and a non-required job failing is enough to trigger it. It does not fire on runs that endcancelled, so the nightly records the breakage in its summary rather than assuming the handoff lands.Also updates the
SKILL.mdreference 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-coveragebreak 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-fixgates onconclusion == 'failure'(.github/workflows/tend-ci-fix.yaml:18), so acirun 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-actionno longer appears anywhere under.github/onmain, so the pin mismatch the nightly diagnosed is gone. The orphan branchfix/ci-cache-apt-pkgs-pin-shais still on the remote and is now moot.🤖 Generated by the tend review-runs workflow (run), revised since.