Repository navigation
ci: det tests that need the corpora run in ground-truth; feature-inventory scans shared, its all-estates check nightly (Fixes #4834) - #4845
Merged
Conversation
…ntory scans shared, its all-estates check nightly (Fixes #4834) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV
Contributor
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.
Fixes #4834.
tree-sitter-language-pack==1.20.0(smoke-test.yml's pin), so the det-translator tests that also need the mainframe corpora (~435; skipped in full-suite for lack of corpora, and here for lack of the parser) now run inpytest -n auto tests/cobol_mainframe/.tmp_path_factory, xdist-safe) scans a combined estate of the 8 snippets once. Every assertion is kept, and tightened: each feature must be reported by its own snippet's program (viaprograms), so siblings cannot satisfy it. Determinism reuses the fixture's estate and rescans once.test_feature_inventory_cli_check(all-estates--check, ~27 s locally, ~170 s on the issue's box) is markednightlyand skipped unlessGITGALAXY_NIGHTLYis set. ground-truth gets aschedule(04:17 UTC) and keepsworkflow_dispatch; the test step sets the variable for those two events only. Choice: ground-truth already has both the corpora and (now) the parser, and main-watch.yml already watches "Mainframe Ground Truth", so a scheduled failure is reported without any new workflow.Measured locally,
pytest -n 4 tests/cobol_mainframe/(parser hidden, origin/main tests vs parser + this PR): 94 s, 2271 passed, 783 skipped -> 111 s, 2556 passed, 533 skipped = +17 s (about +1 min in CI terms). The old feature-inventory file alone: 48 s -> ~7 s per PR (+27 s nightly).Newly running tests: all 2556 pass on current main (the agy failure was the stale-checkout fixture); nothing broken surfaced.
Gates:
pr_gates --fast5/5,--ratchets7/7,workflow_inputs.pypasses.Not queued with the shepherd (orchestrator reviews).
🤖 Generated with Claude Code
https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV