You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(roadmap): accept a test-only group that changes a test helper - #4465
The stage plan check refused an other group whose every changed path is under tests/ when its implementation named no test function. That rule also refused a sound group that changes only a test helper or a fixture, because such a group names a helper and no test function. The rule now judges only a group whose every changed path is a test module under tests/, as the public is_test_module of the core test selection module decides it. A group that changes a test helper or a fixture passes. A group that changes only test modules and names only a test file path is still refused, and the refusal names the group. The requirement of the roadmap-stage spec states the narrowed rule.
Fail-to-pass (uv run devops ci fail-to-pass --base origin/main, head ae41b46f): 1 test fails on the base and passes on the head, tests/roadmap/stage/test_roadmap_stage_content.py::test_a_test_only_other_group_that_changes_a_test_helper_is_accepted. The other 86 tests of the module pass on both.
Stage replay (uv run devops roadmap eval stage --replay, task 1.2), the same on the base (8fec1f63) and on the change:
57 cases, 5 good.
Defects that a gate judges: 81 of 318 (25%).
Good plans that every gate accepts: 5 of 5.
Result: every gate refuses what it must refuse.
Why the implement run stopped. The run of the Service finished both tasks and stopped at openspec archive. The strict validation refused the merged roadmap-stage spec, because the requirement text of the delta was 543 characters and the limit is 500. That text came from a revision of the plan in #4435. The commit a3257c16 shortens the requirement to 451 characters and keeps the same rule. The strict archive then passes, and ae41b46f holds the archive as the last commit. The stop also left the archive output in the work tree before the rebase, which is a separate defect of the stop path (a fix is in progress).
uv run devops ci test tests/roadmap/stage/test_roadmap_stage_content.py: 87 passed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The stage plan check refused an
othergroup whose every changed path is undertests/when its implementation named no test function. That rule also refused a sound group that changes only a test helper or a fixture, because such a group names a helper and no test function. The rule now judges only a group whose every changed path is a test module undertests/, as the publicis_test_moduleof the core test selection module decides it. A group that changes a test helper or a fixture passes. A group that changes only test modules and names only a test file path is still refused, and the refusal names the group. The requirement of theroadmap-stagespec states the narrowed rule.Closes #3462
Change:
openspec/changes/archive/2026-11-11-3462-accept-a-test-only-group-that/