Repository navigation
skills(ci-fix): label transient-tracker issues tend-outage to suppress no-op cascade - #670
Conversation
…s no-op cascade Every unlabeled ci-fix transient-tracker issue (opened-and-closed within ~1s) fires a silent-exit tend-triage on issues.opened and a silent-exit tend-mention on the bot's own close comment — ~3 min of wasted agent context-load per occurrence. 19 occurrences observed on max-sixty/worktrunk since 2026-05-11. The tend-outage label is already wired through the workflow-level `if:` skips in triage.yaml.j2 and mention.yaml.j2 and is the canonical loop-prevention label per the review-reviewers Non-issues list; the action's own Report-failure step applies it the same way.
|
ok, though surely we do want to try to triage the outage? |
|
Worth pulling apart what "triage" would look like here — I think the answer is that ci-fix already did it, and the cascade runs we're suppressing produce nothing today:
If the underlying ask is cross-occurrence pattern detection — "this is the 3rd setup-nu 504 this week, maybe pin a version" — that's a useful thing but it's a different shape than today's |
Bumps the generator version to 0.1.4, syncs the lockfile, and adds the 0.1.4 CHANGELOG section (published as the GitHub Release notes on tag push). Notable changes since 0.1.3: - Claude harnesses switch to `bypassPermissions` (#677) - GitHub Releases publish from `CHANGELOG.md` on tag push (#678) — this release is the first live exercise of that workflow - Interactive sandbox receives GitHub Actions context env vars (#664) - install-tend bot-token step restructured around scope-audit remediation (#680) - Review skill checks the rollup before APPROVE (#667); running-in-ci/triage/ci-fix skill refinements (#661, #666, #669, #670, #671) > _This was written by Claude Code on behalf of max_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5 <[email protected]>
Closes the no-op cascade where every
tend-ci-fixtransient-tracker issue triggers a silent-exittend-triagerun (onissues.opened) and a silent-exittend-mentionrun (on the bot's own close comment). The fix labels the tracker issue withtend-outageso the existing workflow-levelif:skips intriage.yaml.j2andmention.yaml.j2filter the cascade before any agent boots.tend-outageis already the canonical "skip cascade workflows on this bookkeeping issue" label — the action's "Report failure" step uses it the same way, and thereview-reviewersskill's Non-issues section names it explicitly as the accepted shape for loop-prevention.Evidence
19
ci-fix: transient …issues opened-and-closed within 1–5 seconds byworktrunk-botsince 2026-05-11, all unlabeled, each firing the two-workflow cascade:This run's occurrence (#3018) fired two visible cascade runs:
tend-triage27129923256 — silent-exit viarunning-in-ci's "Triggering issue/PR already closed" rule (issue was closed 5 s before the triage run started).tend-mention27129923378 — silent-exit via the prompt's self-conversation guard (trigger was the bot's own close-out comment).Per-occurrence cost is ~94 s of
tend-mentionagent context-load + ~90 s oftend-triageagent context-load — ~3 minutes wasted on every transient. At the observed rate (~4 / week), that's ~12 min/week of cascade no-op cost, growing as CI-flake density grows.Gate evaluation
ci-fix: transientissue produces the same two cascade runs; the agent's silent-exit guards fire correctly each time but only after context-load.gh label create … || trueline plus--label tend-outageon the existinggh issue create, mirroring the action's ownReport failurepattern. Gate 2 Normal threshold = Gate 1 High = 2–3; pass.Why
tend-outage(not a new label)Report failurestep creates it idempotently (gh label create tend-outage … 2>/dev/null || true) and applies it to outage-tracker issues. No generator change, no new label to provision.triage.yaml.j2:13andmention.yaml.j2:52-62already filtertend-outage-labeled issues. The cascade simply doesn't run.review-reviewersNon-issues list namestend-outageas the canonical example of label-based loop-prevention.enrich-tend-outage-issues.shonly touches open outage issues, so closed transient trackers don't enter that path.Evidence gist
Full per-run accumulation in the review-reviewers evidence gist for
max-sixty/worktrunk2026-06.This run: 27130895184.