Repository navigation
CI: docs PRs stop paying for ground truth, evidence deltas and two empty smoke parts (Part of #7963) - #8172
Merged
Conversation
…pty smoke parts (Part of #7963) - change_classifier: a Markdown link a tool writes ([x](x.md)) and a bare file name shared by 2+ tracked docs/.claude files (README.md, index.html, SKILL.md, data.json) are no longer reads. Frees estate4_preregistration.md (#8141, #8156 ran 14 and 23 min of ground-truth parts) and every docs/**/README.md. - ground_truth_plan --deltas: Smoke's advisory evidence-deltas job runs on a PR only when a changed file is a ground-truth input (no record/mutation lanes: the report reads those). Fail-open. - smoke-test shard-plan: a `select` suite runs as one part, not the full suite's N. Replay over the 88 docs-only merges since 10-26: ground truth full 13 -> 9, deltas skipped on 58. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 #7963.
What this does
A docs-only PR still cost 23-28 runner-min on its last push, and 39-46 when the ground-truth plan misread a doc as an input (#8141, #8156: 14 and 23 min of ground-truth parts for one edited Markdown file). Three cuts:
What counts as a read (
tests/tools/change_classifier.py). Two kinds of mention are no longer reads:[x](x.md)), which is text a tool writes into a page.estate4_draw.pyrenders one pointing at the pre-registration, which is how Pre-registration Amendment 3: state the trial.py start gate (Part of #8119) #8141 and Blind 1: record the trial-001 start and #8073 announcement (Part of #8119) #8156 went full.docs/and.claude/(README.md,index.html,SKILL.md,data.json), e.g.tmp / "README.md"or the HTML language's["index.html", ...]. A reader of one of those names its directory, which stays a ref.I checked every reader the regenerated
docs_read_by_tests.txtloses by hand. All were fixtures, tmp paths, pattern lists or rendered links.oracle_assumptions.mdkeeps its real reader (register.py, which renders it).Evidence deltas only when a level can move. A new
ground_truth_plan.py --deltasmode runs in Smoke'ssuite-planjob. It uses the same input rule but without the record and mutation shortcuts, because the report reads both.evidence-deltas(advisory, about 3.5 min) is skipped when it saysnone. Push, schedule, a short file list and a failed plan all still run it.A
selectsuite runs in one part.shard-planused to size every PR's parts from the whole suite, so aselectof a few dozen test files ran as 3 parts, each mostly install time. Aselectnow plans one part (the full plan's timeout, at least 20 min), as the merge queue already did.Measured (replay over the 88 docs-only merges, 2026-10-26..11-09)
fullselectExpected: about 23 → about 17 runner-min per docs-only PR, and no ground-truth run for an unread doc. The live re-measure is still owed:
pr_runner_cost.pyover the next ten docs-only PRs (noted indocs/ci.md).Checks run locally
change_classifier.py --check: freshruff_audit.py --ci,mypy_audit.py --ci,doc_refs_audit.py --ci: no new findings🤖 Generated with Claude Code