Repository navigation
fix(ci-fix): track repeat occurrences in transient classifier - #506
Merged
Merged
Conversation
Adds a repeat-occurrence escalation before applying the transient path: query bot-filed ci-fix: issues from the past 7 days, and if 2+ match the current failure shape, treat as durable. Also tightens the "recent prior run" criterion to "most recent 5 prior runs" so a single success amid a streak of failures doesn't reinforce the wrong classification. Closes #505 Co-Authored-By: Claude <[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.
Problem
The bundled
ci-fixskill's §3a transient classifier evaluates each failure in isolation. The three criteria (recent success on same code path, filesystem/network shape, matching upstream incident) don't look at the bot's own classification history, so a failure that recurs across multiple sessions can be classified "transient" each time. PRQL's recent macOSrustup-initflake was misclassified four times in 8.5 hours before finally being diagnosed as structural.Solution
Two changes to §3a of
plugins/tend-ci-runner/skills/ci-fix/SKILL.md:ci-fix:issues from the past 7 days. If 2+ match the current failure shape, escalate to durable: search for an upstream workaround, otherwise file a fix PR with a minimal mitigation and link the tracking issue.Testing
Skill-text change, no executable tests. The added recipe uses standard
gh issue list --searchsyntax and the same(now - 7*86400)jq pattern already used elsewhere in the skill set.Closes #505 — automated triage