Skip to content

suite_select_plan: .github/workflows/*.yml select the tests that name them (Part of #6278, item 5, slice 10) - #7051

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6278-20261029T2341Z
Oct 30, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6278-20261029T2341Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6278 (item 5, slice 10): the Smoke suite plan selects tests for .github/workflows/*.yml instead of running the whole suite.

Checklist: partial [c:cc68bcd4] -- <case>/case.json data, non-Python tests/tools files, golden-master snapshots, other .github/ files and the unmapped runtime Java files still plan full.

What changed

  • suite_select_plan.py: is_workflow_file / workflow_targets. A workflow file runs the tests that name the workflows directory, .github, or the file by name or stem (direct only), plus TREE_GUARDS; over HELPER_MAX is full.
  • test_suite_select_plan.py: the mapping in a tmp tree, select through plan, and that subdirectories, scripts and other .github/ files stay full (the old workflow pin now uses dependabot.yml).
  • docs/ci.md: the paragraph.

Measured

150 newest merged PRs: 9 touch .github/workflows/; 7 flip full -> select (#7029, #7003, #6968, #6927, #6897, #6893, #6888); the other 2 carry ci/requirements/pytest.in or the pr_check.py helper (named by over 120 tests). A workflow-only PR plans 94 test files (smoke-test.yml). The replay has no coverage map locally, so engine PRs are unchanged here.
What it skips: tests that read a workflow only through a helper that names workflows (a closure through them is 677 files). The nightly full run is unchanged and is the net.

Facts checked: 88 test files name workflows or github directly; pr_gates --fast 9/9; the time ratchet reports 0 over / 0 warned; tree-guard tests pass (353).

Class / Sibling gaps

Class: non-Python files a PR changes beside engine work that force the whole suite. Handled here: .github/workflows/*.yml (slice 10), after slices 8-9 (baseline / ledger JSON, sweep and case records). Sibling gaps: tests/equivalence/<case>/case.json and <case>.json (about 30 of 150 recent PRs; every case-enumerating test reads them, needs the per-case map), C / SQL fixtures (cics/ggcics*.c, db2/), other .github/ files and workflow subfiles, tests/tools non-Python files and doom_speedrun/, tests/golden_master_audit snapshots, 36 runtime Java files, pr_check.py / callgraph_oracle.py / shepherd_gh.py (named by over 120 tests).

Remaining slices: case.json mapping (needs the map), golden-master snapshot mapping, tests/tools non-Python files, then the runner-min re-measure.

🤖 Generated with Claude Code

… the workflows directory or the file (Part of #6278, item 5, slice 10)

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 29, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 29, 2026 23:48
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 29, 2026 23:50
@squid-shepherd
squid-shepherd Bot merged commit f0364c5 into main Oct 30, 2026
65 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6278-20261029T2341Z branch October 30, 2026 00:12
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