Skip to content

ci: det tests that need the corpora run in ground-truth; feature-inventory scans shared, its all-estates check nightly (Fixes #4834) - #4845

Merged
squid-protocol merged 1 commit into
mainfrom
ci/4834-gt-det
Oct 10, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
ci/4834-gt-det

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Fixes #4834.

  • ground-truth installs 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 in pytest -n auto tests/cobol_mainframe/.
  • test_feature_inventory.py: the synthetic per-category tests shared one scan each of their own (18-33 s on the issue's box). Now one module-scoped fixture (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 (via programs), 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 marked nightly and skipped unless GITGALAXY_NIGHTLY is set. ground-truth gets a schedule (04:17 UTC) and keeps workflow_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 --fast 5/5, --ratchets 7/7, workflow_inputs.py passes.

Not queued with the shepherd (orchestrator reviews).

🤖 Generated with Claude Code

https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV

@squid-protocol squid-protocol added ci-cd Continuous integration, delivery, and automated runners testing Unit, integration, and E2E pipeline verification labels Oct 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol marked this pull request as ready for review October 10, 2026 14:19
@squid-protocol
squid-protocol merged commit ad0ed6b into main Oct 10, 2026
30 checks passed
@squid-protocol
squid-protocol deleted the ci/4834-gt-det branch October 10, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cd Continuous integration, delivery, and automated runners testing Unit, integration, and E2E pipeline verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: the feature-inventory corpus check (and other det tests needing corpora) runs in no CI job

1 participant