Skip to content

suite_select_plan: golden-master snapshots select the tests that name the fixture or golden_store (Part of #6278, item 5, slice 13) - #7061

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6278-s13-golden-main
Oct 30, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6278-s13-golden-main

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6278, item 5, slice 13. Builds on #7060 (slice 12, merged).

Checklist: done [c:cc68bcd4]

What changed

Golden-master snapshot parts (tests/golden_master_audit/**, tests/golden_master_zero_dep_audit/**) now plan select through named_data_targets: the tests that name the fixture directory or golden_store as a word (direct only, about 15 files with TREE_GUARDS), instead of full. Files (3 hand-written): tests/tools/suite_select_plan.py, tests/tools/test_suite_select_plan.py, docs/ci.md. Three existing "beside an unmapped file" tests used a snapshot as the unmapped example; they use tests/equivalence/cbsa-x/seed.sql now.

Class / Sibling gaps

Class: changed files the Smoke suite plan sends to full because no mapping reaches the tests that read them; this slice handles the golden snapshot trees (468 tracked parts, both trees, one mechanism: golden_store.py is the only reader). Sibling gaps (member, status, why not here):

  • Case fixtures (abndfile.bin, seed.sql, *.txt, LICENSE, NOTICE) and C / SQL sources under tests/equivalence/cics/, db2/: full; read by helpers, no test names the file (needs a per-case coverage entry).
  • tests/tools/doom_speedrun/callgraph_baseline.json: full; read by callgraph_oracle.py, which no test names (needs a one-hop helper map).
  • tests/tools/**/README.md and language adapters: full.
  • The other 36 det runtime Java files: full; class names are words across the suite.
  • Engine .py changes with no coverage-map entry: full; the golden PRs are all of this kind (below).
  • By design: a test reaching a snapshot only through bugfix_kit / update_golden_master is not selected; crucible-audit and the nightly full run are the net.

Evidence

Replay, 150 newest merged PRs, no coverage map: select 69, full 81 before and after. 5 of the 150 touched a snapshot (#7014, #7004, #6988, #6922, #6894) and every one also changed a gitgalaxy/**.py file, which plans full without the nightly map (not obtainable locally), so no PR flips here; they flip when the map holds the engine modules. Real plan for two snapshot parts: select, 15 tests. test_suite_select_plan.py plus tree guards: 370 passed. ruff format --check (0.17.1) clean. Ratchets not run (no engine, golden or ledger change).

🤖 Generated with Claude Code

… the fixture or golden_store (Part of #6278, item 5, slice 13)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 30, 2026 01:53
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 30, 2026 01:54
@squid-shepherd
squid-shepherd Bot merged commit 195d6a9 into main Oct 30, 2026
65 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6278-s13-golden-main branch October 30, 2026 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant