Skip to content

CI: docs PRs stop paying for ground truth, evidence deltas and two empty smoke parts (Part of #7963) - #8172

Merged
squid-protocol merged 1 commit into
mainfrom
ci/docs-pr-overhead
Nov 9, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
ci/docs-pr-overhead

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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:

  1. What counts as a read (tests/tools/change_classifier.py). Two kinds of mention are no longer reads:

    I checked every reader the regenerated docs_read_by_tests.txt loses by hand. All were fixtures, tmp paths, pattern lists or rendered links. oracle_assumptions.md keeps its real reader (register.py, which renders it).

  2. Evidence deltas only when a level can move. A new ground_truth_plan.py --deltas mode runs in Smoke's suite-plan job. 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 says none. Push, schedule, a short file list and a failed plan all still run it.

  3. A select suite runs in one part. shard-plan used to size every PR's parts from the whole suite, so a select of a few dozen test files ran as 3 parts, each mostly install time. A select now 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)

before after
ground truth planned full 13 9 (each remaining one has a reader that opens the file)
evidence-deltas run 88 30 (it also skips on 74 of the 1,095 other merges)
smoke parts on a select 3 1

Expected: 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.py over the next ten docs-only PRs (noted in docs/ci.md).

Checks run locally

  • change_classifier.py --check: fresh
  • 540 classifier, planner, workflow-pin and ci.md-reader tests pass
  • ruff_audit.py --ci, mypy_audit.py --ci, doc_refs_audit.py --ci: no new findings

🤖 Generated with Claude Code

…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]>
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit d0aa5a6 into main Nov 9, 2026
50 checks passed
@squid-protocol
squid-protocol deleted the ci/docs-pr-overhead branch November 9, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant