Repository navigation
Canary: report the listing run's verdict even after a budget failure - #10
Merged
Merged
Conversation
"Interpret the listing run" carried only the proxy-secret condition, so when "Proxy traffic (listing)" before it failed (budget exceeded) GitHub skipped it and the run's own exit-code verdict never appeared. It now runs unless the job was cancelled or the listing step itself was skipped; the job stays red either way. A smoke check requires every step that judges a run's exit code to carry !cancelled() or always(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CKsd7q25N19WzUZjrAdzx8
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
"Interpret the listing run" had only
if: env.AUTOTRADER_PROXY != '', so it carried GitHub's implicitsuccess(). When "Proxy traffic (listing)" before it failed (the run exceeded its proxy budget), GitHub skipped it. The log then showed only the budget error and never the listing run's own verdict (exit 6 partial, 5 pages never arrived, parser_found_nothing and so on).Change
.github/workflows/canary.yml: "Interpret the listing run" now hasif: ${{ !cancelled() && env.AUTOTRADER_PROXY != '' && steps.listing.outcome != 'skipped' }}. The job's result is unchanged: a failed proxy-traffic step still fails the job, and the interpret step still exits 1 on any nonzero exit.smoke_test.py: a check that every step judging a run's.outputs.exit_codecarries!cancelled()oralways(), and that "Interpret the listing run" is one of them.[Unreleased]/ Changed (CI only).Evidence
requirements.txt):python smoke_test.py560 passed, 0 failed, 8 engine groups skipped.python3 .github/ci_checks.py --allok. The workflow parses as YAML, and its triggers are still onlyscheduleandworkflow_dispatch.if: env.AUTOTRADER_PROXY != '', both new checks fail ("unguarded: ['Interpret the listing run']") with 558 passed and 2 failed. After restoring, 560 passed and 0 failed.Not changed
"Assert the listing run" (it reads the rows only after exit 0, and a run over its budget never exits 0), the 15 MB canary budget, the scraper's 10 MB default, and the release/version.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CKsd7q25N19WzUZjrAdzx8