Skip to content

suite_select_plan: equivalence case.json / evidence.json select the tests that name the case (Part of #6278, item 5, slice 12) - #7060

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6278-s12-case-files
Oct 30, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6278-s12-case-files

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6278, item 5, slice 12.

Checklist: partial [c:cc68bcd4] -- golden-master snapshots, doom_speedrun/callgraph_baseline.json, case fixtures and the other det runtime files still plan full; the runner-min per PR re-measure is open.

What changed

tests/equivalence/<case>/case.json and evidence.json now plan select through named_data_targets: the tests that name the case id or the file name as a word (direct only), plus TREE_GUARDS. An evidence.json also runs tests/cobol_mainframe/test_evidence.py. Files: tests/tools/suite_select_plan.py, its test, docs/ci.md (3 hand-written).

Class / Sibling gaps

Class: changed files that the Smoke suite plan sends to full because no mapping reaches the tests that read them. Handled by this mechanism: per-case case.json and evidence.json (182 and 43 files). 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.
  • Golden-master snapshots (7 of 150 PRs): full; no per-part naming.
  • tests/tools/doom_speedrun/callgraph_baseline.json: full; read by callgraph_oracle.py, which no test names.
  • tests/tools/**/README.md and language adapters: full.
  • The other 36 det runtime Java files: full; class names are words across the suite.
  • Gap by design: a test that reaches a case only through equivalence.py / evidence.py (654 files transitively) is not selected; the nightly and post-merge full run is the net.

Facts checked: 109 test files name case.json, 17 name evidence.json; a case id adds 0 to 1 more, so a case plans 109-110 tests (under HELPER_MAX 120). Replay of the 150 newest merged PRs, no coverage map: select 52 to 71, full 98 to 79 (old module from HEAD vs this branch). pr_gates --fast 9/9; tree guards plus test_suite_select_plan.py 368 passed; ruff format --check (0.17.1) clean. Ratchets not run (no engine, golden or ledger change).

Remaining slices: golden-master snapshots; doom_speedrun/callgraph_baseline.json via a one-hop helper map; case fixtures via a per-case coverage entry.

🤖 Generated with Claude Code

…ests that name the case (Part of #6278, item 5, slice 12)

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:24
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 30, 2026 01:25
@squid-shepherd
squid-shepherd Bot merged commit 04cd299 into main Oct 30, 2026
65 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6278-s12-case-files branch October 30, 2026 01:47
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