Repository navigation
Open one regression alert per failing scenario - #108
Merged
Merged
Conversation
The alert commented on whichever regression-alert issue was open, so every failure landed on one thread whatever caused it. On 26 October a harness `fetch failed` in regression-verification-001-generic-hmac was appended to an issue about a rubric in regression-filtering-001-regex-capability, and read as more of the same. Open or update one issue per failing scenario, titled `Regression failing: <eval id>`. Label each failing cell by the step that failed: a red check is the agent or the scorer, and an errored eval step means the cell has no verdict, usually the harness, a provider or the agent CLI rather than the agent's answer. A provider refusal (#103's provider-refused-* artifact), a cancelled cell, a job outside the matrix, or a cell whose job name GitHub cut short goes to one run-level issue, because none of them is a verdict on a scenario. The logic moves to .github/scripts/regression-alert.sh behind a sparse checkout, so it can be dry-run against a past run. Dry-runs against 40277941276, 41397695283, 32696494086 (cancelled by hand), and a simulated refusal give the expected issues. shellcheck and actionlint pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… read Review of the first version found ways it would mis-file or stay silent: - A cell failing at setup (a missing secret, a registry outage) was filed per scenario, so one outage would open an issue for every guard. Only a red check or an errored eval step is now filed per scenario; everything else, timed-out cells included, goes to the run-level issue. - Under `set -e` one failed read killed the script before it posted, which is the silence it exists to prevent. Reads are retried. If the jobs can't be read, a run-level issue still opens. If the artifacts can't be read, no scenario issue opens, because a refusal can't be ruled out. If the issue list can't be read, the script creates rather than skips. - On a re-run, artifacts from the earlier attempt are ignored, so an old refusal can't suppress the new attempt's scenario issues. - A closed issue with the same title is reopened, not duplicated. - A scenario whose cells all errored is labelled `harness`, not `scenario`. - Any DRY_RUN value other than 0 or empty is a dry run; the dry-run header now names the action correctly. - The job's permissions narrow to contents and actions read, issues write. Tested through a fake gh on thirteen fixture cases, and dry-run against 40277941276, 41397695283 and 32696494086. shellcheck and actionlint pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a re-run the script keeps only artifacts created since the attempt started. When that start time read as null, the string "null" sorted above every real timestamp, so a current provider refusal was filtered out and the run was filed per scenario. A reviewer reproduced it with a fixture. A start time that is not a timestamp now counts as unreadable: no scenario issues, and a run-level issue saying a refusal can't be ruled out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The weekly regression alert commented on whichever
regression-alertissue was open, so every failure landed on one thread whatever caused it. On 26 October a harnessfetch failedinregression-verification-001-generic-hmacwas appended to #92, an issue about a rubric inregression-filtering-001-regex-capability, and read as more of the same.Regression failing: <eval id>, matched by exact title. A closed issue with that title is reopened, so a guard that regresses again keeps its history.harness, otherwisescenario.Weekly regression run is failing: a provider refusal (theprovider-refused-*artifact from Publish partly failed runs, never cancelled ones, and name what is missing #103), a cell that failed at setup, a cancelled or timed-out cell, a job outside the matrix, or a cell whose job name GitHub cut short at 100 characters. Otherwise one empty credit balance or one missing secret would open an issue for every guard.null, it is treated as unreadable rather than compared..github/scripts/regression-alert.sh, behind a sparse checkout, so it can be dry-run against a past run (DRY_RUNset to anything but0). AGENTS.md says how. The job's permissions narrow to contents and actions read, issues write.Still scheduled runs only, as before.
Testing
Dry-run against real runs:
scenario, hmacharnessharness) with three errored cells; run-level issue with 22 cancelled cells andpublish-resultsThrough a fake
ghserving fixtures, thirteen cases: setup-step failure, jobs API failing twice then answering, jobs/artifacts/issue list unreadable, open and closed same-title issues (dry-run and real writes),DRY_RUN=true, all-errored versus mixed labels,timed_out, a refusal from an earlier attempt versus the current one, and anullattempt start time. Every case produces the intended issue.Not verified: a real provider refusal, since no run has a marker yet and that path is tested by fixture only; and reopening an issue with the job token, which GitHub documents
issues: writeas covering.shellcheckandactionlintpass.After merge
#92's title does not match the new scheme, so the next filtering-001 failure opens a new issue rather than appending to it. #92 can close once #106 lands.
🤖 Generated with Claude Code