Skip to content

ci: share the clone cache between hosted and self-hosted runners - #435

Merged
juliusknorr merged 1 commit into
mainfrom
fix/clone-cache-path
Oct 16, 2026
Merged

juliusknorr merged 1 commit into
mainfrom
fix/clone-cache-path

Conversation

@juliusknorr

Copy link
Copy Markdown
Member

actions/cache includes the path in the cache version. The clone job saves ${{ github.workspace }} on a GitHub-hosted runner (/home/runner/work/...), but build legs on garm runners have /home/runner/actions-runner/_work/..., so they miss the cache and fail with Invalid source: ./build does not exist (e.g. run 38917151496, release PR #434). A relative path gives the same cache version on every runner.

The PR's own CI shows whether legs on both runner types restore the cache.

Related: Euro-Office/release#1

🤖 Generated with Claude Code

https://claude.ai/code/session_01F62hq4w32Hn5hrkaheRCTt

actions/cache includes the path in the cache version. With ${{ github.workspace }} the garm runners (/home/runner/actions-runner/_work) never found the cache saved on GitHub-hosted runners (/home/runner/work), so their builds failed with './build does not exist'.

Assisted-by: ClaudeCode:claude-opus-5-5
Claude-Session: https://claude.ai/code/session_01F62hq4w32Hn5hrkaheRCTt
Signed-off-by: Julius Knorr <jus@bitgrid.net>
@juliusknorr
juliusknorr merged commit 388fced into main Oct 16, 2026
22 of 24 checks passed
@juliusknorr
juliusknorr deleted the fix/clone-cache-path branch October 16, 2026 20:30
@github-project-automation github-project-automation Bot moved this from 📄 To do to ☑️ Done in 📄 Euro-Office team Oct 16, 2026
This was referenced Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants