Repository navigation
ground-truth parts: cache the tree-sitter language pack (#6730) - #6968
Merged
Merged
Conversation
…om 504 cannot fail a part (#6730) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
This was referenced Oct 29, 2026
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 #6730 (flaky
ground-truth part 1/4).Root cause
ci_rerun_statslists 3 first-attempt test failures in 14 days. Read from the job logs:tree_sitter_language_pack.DownloadError ... parsers.json: http status: 504. The det tests fetch parsers from github.com at run time, and the ground-truth parts had no cache for them (smoke-test and equivalence-e2e have had one since Actions cache over 10 GB: no combined cache step may save on a pull request (scip-java, odbc, go, cargo, m2, images) #6675). Infra/network flake, fixed here.test_evidencefailures oncbsa-inqacc("case changed since the proof", missing#6692ledger entry). These are real, PR-caused failures that were fixed by a later push, not flakes.Change
mainframe-ground-truth.yml,ground-truth-partjob only: restore~/.cache/tree-sitter-language-pack(same key as smoke-test.yml) and save it on main on a miss. The warm job only scans and does not use tree-sitter, so it is untouched. Gate behaviour (ground-truthaggregate, plan, drafts) is unchanged.CI cost: one cache restore (a few seconds) per part; no new jobs. A PR cache miss still downloads as before (the first main run primes it).
Class / Sibling gaps
Class: workflows that run tests importing tree_sitter_language_pack and download parsers at run time without the #6675 cache. Members: smoke-test.yml (cached), equivalence-e2e.yml (cached), mainframe-ground-truth.yml parts (this PR). Sibling gaps: none found by grepping
.github/workflowsfortreesitter.txtinstalls without a cache step; not re-audited for workflows that install it indirectly. A cache miss on a PR still has no retry (remaining risk).Tests: tests/tools/test_cache_keys.py, test_ci_critical_path_split.py, test_change_classifier.py, test_sweep_plan.py, test_ground_truth_plan.py, test_ground_truth_ledger.py pass locally.
🤖 Generated with Claude Code