fix(ci): disable toolchain cache in release-binaries#462
Conversation
… shim failures moonrepo/setup-toolchain's cache intermittently restores broken shims on macOS and Windows — proto reports tools as installed but they're not on PATH. Disabling the cache for release-binaries (runs once per release, so the ~15s install penalty is negligible) eliminates the flakiness entirely. Also adds cache-version keyed to $ImageOS on cached workflows as a defensive measure against runner image upgrades invalidating the cache. Claude-Session: https://claude.ai/code/session_01RumFmYvyyM3Vsfpfm5pSP9 Signed-off-by: Rhuan Barreto <rhuan@barreto.work>
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_4d32050f-ba30-4546-9882-37f71b0a89ad) |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
📜 Recent review details⏰ Context from checks skipped due to timeout. (2)
|
| Area | Change |
|---|---|
.github/actions/setup-bun-project/action.yml |
Adds cache-version: ${{ env.ImageOS }} to setup-toolchain step |
.github/workflows/release.yml |
Adds cache-version to check, pull-request, and release jobs |
.github/workflows/update-llms.yaml |
Adds cache-version to setup-toolchain step |
.github/workflows/update-lock.yaml |
Adds cache-version to setup-toolchain step |
.github/workflows/release-binaries.yml |
Adds cache: false to setup-toolchain step in build job |
.claude/agent-memory/archgate-developer/project_release_pipeline_gotchas.md |
Updates documented root cause and fix for cache bug |
Related Issues: Unable to determine from provided context.
Related PRs: None identified.
Suggested labels: ci, documentation
Suggested reviewers: Unable to determine from provided context.
Poem:
A rabbit hops through workflow files,
Adding versions, cache reconciles,
ImageOS now marks the key,
No stale shims to trouble thee,
Gotchas doc gets one more fix,
Hop, commit, and CI ticks. 🐰
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | The title matches the main change by disabling toolchain cache for release-binaries CI. |
| Description check | ✅ Passed | The description is directly related and accurately describes the caching changes and test plan. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
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 @coderabbitai help to get the list of available commands.
Deploying archgate-cli with
|
| Latest commit: |
eb166bf
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://599706b0.archgate-cli.pages.dev |
| Branch Preview URL: | https://claude-glimmering-inventing.archgate-cli.pages.dev |
Code Coverage
Full HTML report available in workflow artifacts. Per-directory breakdown
|
Summary
moonrepo/setup-toolchaincaching onrelease-binaries.ymlto eliminate intermittentbun: command not foundfailures on macOS and Windows — the cache flakily restores broken shims, and proto skips re-downloading when it sees the tool as already installedcache-version: ${{ env.ImageOS }}on workflows that still use caching, as a defensive measure against runner image upgrades staling the cacheTest plan
bun run validatepasses locally (1438 tests, 43/43 ADR rules)https://claude.ai/code/session_01RumFmYvyyM3Vsfpfm5pSP9