Repository navigation
ci: the small audit checks run in one job (#4825) - #4844
Merged
Merged
Conversation
dead-key-audit, ast-accuracy-audit, signal-contract-audit and golden-master-guard each took a runner on every PR for a few minutes of work. They are folded into one workflow (small-audits.yml, job "Small audits") with one step per audit, each `if: always()` so one failure does not hide the others. Not required checks; the required names (ruff-audit, mypy-audit, det, full-suite, ground-truth) are untouched. Triggers are the union: pull_request to main and v6-dev, unfiltered (golden-master-guard had no paths filter, and signal-contract's docs/signal_contracts.md path would be lost to a docs/** ignore). Two audits now also run on v6-dev PRs. The baseline --ci runs and the golden-master step write nothing that is committed (the step writes only to the job summary). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV
Contributor
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.
Part of #4825 (step 4: folded small audits). Draft; the orchestrator reviews and queues.
What changed
Four non-required audits that each took a runner on every PR are now steps of one job,
Small auditsin.github/workflows/small-audits.yml:python tests/dead_key_audit.py --cipython tests/ast_accuracy_audit.py --cifetch-depth: 0(pinned corpus tag) andpip install -e .python tests/signal_contract_audit.py --ciflag-golden-master-changes)$GITHUB_STEP_SUMMARYif: always(), so one failure does not hide the others.cache: pipkeyed on the rootpyproject.toml, the same key as smoke-test's Linux 3.12 cache.pull_requesttomainandv6-dev, unfiltered. golden-master-guard had no path filter, and signal-contract'sdocs/signal_contracts.mdpath would be lost to adocs/**ignore, so the union is unfiltered. Behaviour changes: the threemain-only audits now also run onv6-devPRs, and they run on docs-only PRs (cheap; they fail on nothing new).--ciruns check against committed baselines, and the golden-master step writes only to the job summary.tests/tools/ci_digest.pyNO_LOCAL now namesSmall audits. Doc references (CONTRIBUTING, contract_roadmap,.gitattributes, answer-key-guard, tree-sitter comment, engine-bugfix skill) point at the new file.Not folded, and why
rosetta:rebless-owedlabelled trigger and concurrency group)gitgalaxy/**path filter, 30 min)Runner saving
Per PR: 4 runner jobs become 1, saving about 3 runner-starts (each with checkout and setup-python) of a few minutes each. The four audits' steps run back to back, so the job takes roughly the sum of their work, not four queue waits.
Verification
python tests/tools/workflow_inputs.py: every path-filtered workflow triggers on what it reads (exit 0).pr_gates.py --fast: 5/5 pass.pr_gates.py --ratchets: 7 pass, 0 fail.🤖 Generated with Claude Code
https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV