Skip to content

tests/tools: the Smoke full suite follows the classifier area() (Part of #6278, slice 3) - #6295

Merged
squid-protocol merged 3 commits into
mainfrom
churn/6278-20261023T2100Z
Oct 23, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/6278-20261023T2100Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6278, slice 3 of 6. Stacked on #6293 (slice 2): its two commits show in this diff until it merges; this PR's own change is commit 4808a68 (2 files).

What changed

  • tests/tools/suite_select_plan.py (new planner): for the Smoke full suite on a pull request, skip when every changed file is prose; select when every file is prose / test-read-doc / agent-config and each reader the classifier lists maps to a test (paths = pytest arguments); full for anything else, an engine/root-script reader, an empty diff, the shepherd:full label, and every non-PR event. Outputs mode= and paths= for $GITHUB_OUTPUT.
  • Reader scope to test: tests/tools/test_x.py is that file, tests/<dir> that directory, a non-test tests/tools/<helper> the tests/tools tests that name it.
  • tests/tools/test_suite_select_plan.py: 20 tests, real file lists both ways.

Checklist: partial [c:2c9c72d8] -- the planner is done; wiring it into smoke-test.yml (plan step, pytest args, full-suite still reporting on skip) and dropping paths-ignore: docs/** is a workflow edit, not authorized in this brief.

Class / Sibling gaps

Class: PR workflows whose scope the classifier area() should decide. Done here: Smoke full suite (planner). Not done: smoke-test.yml wiring (item 3), the other PR workflows (item 4), affected-test selection from changed modules (item 5), push re-runs (item 6).
Finding: today **/*.md and docs/** are named by post_merge_dispatch.py / test_workflow_inputs.py, so no real doc is prose: a docs-only PR selects those readers' tests rather than skipping. skip fires once those tests stop enumerating every doc (pinned in a test).

Verification

pr_gates --fast 7/7; test_suite_select_plan, test_source_reads, test_sweep_plan, test_ground_truth_plan, test_change_classifier pass. Not run: --ratchets (no engine/golden change). Locally test_the_committed_list_is_fresh fails only because pr_gates gen-docs left ignored docs/language_status/evidence_report/<estate>/ dirs (my removal was denied by the sandbox); CI has none.

Co-Authored-By: Claude Sonnet 5.5 [email protected]

🤖 Generated with Claude Code

squid-protocol and others added 3 commits October 23, 2026 16:55
det_sweep_plan.plan() asks change_classifier.db2_area: on a pull request a plan that went full for a reason outside
the Db2 area (a harness core file, an oracle Dockerfile) keeps the non-Db2 sweep and drops the Db2 half. Nightly,
manual and shepherd:full runs are unchanged; a none plan still lets the required det check report.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…lassifier area() (Part of #6278)

Skip on prose, run only the readers of test-read docs / agent config, full otherwise. Planner and tests only;
the smoke-test.yml wiring (and dropping paths-ignore) is a workflow edit left for a slice that allows it.

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 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 23, 2026 21:08
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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