Skip to content

ground-truth parts: cache the tree-sitter language pack (#6730) - #6968

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6730-20261029T0220Z
Oct 29, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6730-20261029T0220Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6730 (flaky ground-truth part 1/4).

Root cause

ci_rerun_stats lists 3 first-attempt test failures in 14 days. Read from the job logs:

  • run 40373418371 (part 3/4): 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.
  • runs 40252438564 (part 1/2) and 40203962119 (parts 2/4, 4/4): test_evidence failures on cbsa-inqacc ("case changed since the proof", missing #6692 ledger entry). These are real, PR-caused failures that were fixed by a later push, not flakes.

Change

mainframe-ground-truth.yml, ground-truth-part job 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-truth aggregate, 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/workflows for treesitter.txt installs 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

…om 504 cannot fail a part (#6730)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 29, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 29, 2026 02:24
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 29, 2026 02:24
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit 581d252 into main Oct 29, 2026
69 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6730-20261029T0220Z branch October 29, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant