Repository navigation
Guard: a gated test needing both EQUIVALENCE_E2E and CICS_CRUCIBLE_PATH gets both in one step (Part of #5954) - #7298
Merged
Conversation
…TH gets both in one step (Part of #5954) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Part of #5954 (slice 5).
What
cics-crucible.ymlrunner-testsalready setsCICS_CRUCIBLE_PATH(landed in #6238), sotest_det_port_bytes_4965.pyis no longer skipped there: its step setsEQUIVALENCE_E2E=1and the checkout path together and selects-m e2e, and the test carries@pytest.mark.e2e. The slice's remaining gap was the guard: it checked each variable separately, so a later edit moving one variable into another step (or dropping the e2e mark) would leave the test skipped and the guard green. No workflow change is needed, so none is made.tests/tools/test_env_gated_tests_run_in_ci_5954.py: new_joint_runs()plus a test that every file reading both variables is named by a pytest step whose oneenv:block sets both, and, when that step selects-m e2e, that the file marks a test e2e. Mutation check: removing theCICS_CRUCIBLE_PATHline from the workflow in a scratch copy makes it fail ("no workflow step sets EQUIVALENCE_E2E and CICS_CRUCIBLE_PATH together").Owner decisions
Editing .github/workflows/cics-crucible.yml is in scope (standing workflow grant 2026-10-24). This PR reads it and does not change it;
shepherd-*.ymluntouched.Class / Sibling gaps
Class: a test gated on more than one environment variable is skipped unless one pytest step sets all of them. Members reading both
EQUIVALENCE_E2Eand the crucible path: onlytests/cics_crucible/test_det_port_bytes_4965.py(handled, now pinned jointly). Files gated on one variable were already covered by the existing guard (UNCOVERED lists are empty). Sibling gaps: none: every member handled. Not run locally: the e2e test itself (two Maven builds, needs the pinned checkout and Docker); CI's runner-tests job runs it.Gates
pytest tests/tools/test_env_gated_tests_run_in_ci_5954.py: 9 passed.ruff format --check: clean. CI cost: none (no workflow change).🤖 Generated with Claude Code