Repository navigation
skills(running-tend): prefer CI rerun over exclude list for transient failures - #2050
Merged
Merged
Conversation
… failures Add guidance to skip fix PRs for transient infrastructure failures (link-check timeouts, apt-get flakes, runner blips). The ci-fix run 24223378129 opened PR #2045 excluding caddyserver.com from lychee after a single timeout; max-sixty rerun CI instead (attempt 2 passed) and closed the PR 21 seconds after it was created. The bot correctly identified the failure as transient ("previous CI run an hour earlier passed fine") but still chose a permanent config change. Co-Authored-By: Claude Opus 4.6 <[email protected]>
This was referenced Apr 10, 2026
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.
Problem
Run 24223378129 (tend-ci-fix) opened #2045 to add
caddyserver.comto the lychee exclude list after a single link-check timeout. Maintainer closed the PR 21 seconds after it was created, because they had already rerun CI (attempt 2 passed) — the underlying link was fine; the first attempt was a transient network blip.Timeline from the workflow run attempts API:
attempts/1: failed with lychee[TIMEOUT]oncaddyserver.com02:32:58Z: maintainer reran CI →attempts/2started02:32:59Z: ci-fix bot opened fix: exclude caddyserver.com from lychee link checks #2045 (one second later)02:33:20Z: maintainer closed fix: exclude caddyserver.com from lychee link checks #2045 ("going to rerun")attempts/2: passed cleanlyThe bot's own reasoning in the session log actually flagged the failure as transient ("previous CI run an hour earlier passed fine"), but proceeded with a permanent config change anyway — the ci-fix skill has no guidance for classifying infrastructure flakes as "do not fix."
Solution
Add a "CI Fix: Prefer Rerun for Transient Infrastructure Failures" section to
.claude/skills/running-tend/SKILL.mdthat:[TIMEOUT]reported, reachable from local curl).This is repo-local guidance only — no change to the generic tend-ci-runner skill or to
.config/lychee.tomlitself (which already setsmax_retries = 6and maintains an exclude list for genuinely unreliable hosts).Evidence and gate assessment
Testing
Skill overlay is documentation only. Content will exercise on the next ci-fix trigger. No code changes; no test suite to run.
Automated fix for failed run (tend-ci-runner review-runs).