Repository navigation
fix(ci): key the Idris 2 cache on the Chez Scheme version - #930
Conversation
`ubuntu-latest` moved to the 26.04 image. The cached ~/.idris2 holds an idris2.so compiled by the previous image's Chez, and a fasl-object only loads under the Chez that wrote it, so every cache hit now dies with Exception: incompatible fasl-object version 0.0.0-pre-release.73 found in /home/runner/.idris2/bin/idris2_app/idris2.so and abi-codegen-drift (a required check) is red on every PR. The cache key did not name Chez, so the stale build kept being restored. The installed chezscheme package version is now part of the key in both workflows that share the entry (abi-codegen-drift.yml, verify-proofs.yml), so an image or package change rebuilds Idris 2 once instead of loading a stale build. verify-proofs.yml has the same latent failure; it simply has not run on the new image yet. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0165rGu3tsKmJtevmrdMVyfJ
|
This is not from this PR (it only changes the Idris 2 cache key). Main has the same failure (OSSF Scorecard since 2026-10-16), and it also hits #927. The fix is to regenerate Generated by Claude Code |
|
Generated by Claude Code |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 47 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Add Carrot credits or activate Agent usage billing to use Autofix |
… branch so abi-codegen-drift can pass here Ported, not re-authored: the same commit as #930. It no-ops once main carries it.
What broke
ubuntu-latestmoved to the 26.04 image. The cached~/.idris2holds anidris2.socompiled by the previous image's Chez Scheme, and a fasl-object only loads under the Chez that wrote it. Every cache hit now dies:So
abi-codegen-drift(a required check) is red on every PR, e.g. #927, job 118048140403. The cache key did not name Chez, so the stale build kept being restored.The fix
The installed
chezschemepackage version is now part of the key, in both workflows that deliberately share one cache entry:.github/workflows/abi-codegen-drift.yml.github/workflows/verify-proofs.ymlAn image or package change now rebuilds Idris 2 once (~20 min on the first run) instead of loading a stale build.
verify-proofs.ymlhas the same latent failure; it just hasn't run on the new image yet (it only runs for PRs targeting main touching its paths, and on schedule).Verification
actions.lockis unaffected.abi-codegen-driftis green on this PR, the fix works.Separate from #927 on purpose, which only touches the lockfile parser.
Generated by Claude Code