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
CI: the feature-inventory corpus check (and other det tests needing corpora) runs in no CI job #4834
bugUnintended behavior or logic failure in the engineci-cdContinuous integration, delivery, and automated runnerspriority: mediumscope:infraCI, tooling, churn/factory, docs infrastructuretestingUnit, integration, and E2E pipeline verification
Found 2026-10-10 while parallelising ground-truth (#4825).
tests/cobol_mainframe/test_feature_inventory.py importorskips tree_sitter_language_pack (the det parser), and its --check test also needs the mainframe corpora:
full-suite installs the parser but fetches no corpora, so the test skips;
So the fixture check never runs in CI. Its CardDemo/CBSA fixtures had silently gone non-portable (absolute paths, fixed in the ground-truth PR) without any check noticing. The same probably holds for other det tests that need corpora.
Options:
Install tree-sitter-language-pack==1.20.0 in ground-truth. This runs every det+corpora test there, so measure the added time and fix what surfaces first.
Run only the corpus-needing det tests (a marker) in one of the det-sweep shard jobs, which already have both the translator and the corpora.
Measured (agy, 2026-10-10, local box; CI ≈3× slower, 4 cores). Installing the det parser (tree-sitter-language-pack==1.20.0) in ground-truth would un-skip 465 tests in tests/cobol_mainframe (435 executed): 434 pass, 1 fails. The failure is test_feature_inventory_cli_check on a checkout from before #4835 made the fixtures portable.
Time: 393 s in total, and the 10 slowest are all test_feature_inventory.py:
the all-estates fixture check alone takes 170 s;
each synthetic test takes 18–33 s, because it runs a full engine scan.
Everything else is small.
Proposal:
Install the parser in ground-truth, which turns on ~425 cheap det-corpus tests that today guard nothing.
Run the 170 s all-estates --check nightly (main-watch reports it), not per PR.
Share one scan across the synthetic feature-inventory tests (a session fixture) instead of one engine scan per test.
Expected added cost per PR: ~1–2 min, instead of ~8–9 min.
bugUnintended behavior or logic failure in the engineci-cdContinuous integration, delivery, and automated runnerspriority: mediumscope:infraCI, tooling, churn/factory, docs infrastructuretestingUnit, integration, and E2E pipeline verification
Activity
squid-protocol commentedon Oct 10, 2026
Measured (agy, 2026-10-10, local box; CI ≈3× slower, 4 cores). Installing the det parser (
tree-sitter-language-pack==1.20.0) in ground-truth would un-skip 465 tests in tests/cobol_mainframe (435 executed): 434 pass, 1 fails. The failure istest_feature_inventory_cli_checkon a checkout from before #4835 made the fixtures portable.Time: 393 s in total, and the 10 slowest are all
test_feature_inventory.py:Everything else is small.
Proposal:
--checknightly (main-watch reports it), not per PR.Expected added cost per PR: ~1–2 min, instead of ~8–9 min.
🤖 Generated with Claude Code