Skip to content

chore: the mach cache key names the runner arch - #8

Merged
octalide merged 1 commit into
devfrom
chore/cache-arch
Oct 8, 2026
Merged

octalide merged 1 commit into
devfrom
chore/cache-arch

Conversation

@octalide

@octalide octalide commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

The compiler cache key gains ${{ runner.arch }}: mach-${{ runner.os }}-${{ runner.arch }}-${{ env.MACH_VERSION }}-${{ env.MACH_REF }}.

Without it an x64 and an arm64 runner on the same OS share one key. The default matrix runs one runner, but the runners dispatch input can name ubuntu-latest and ubuntu-24.04-arm together, and whichever saves first would serve its binary to the other.

Decisions

  • The arch sits right after the OS, matching mink's key.
  • The old key's entries are left to expire. Nothing restores them after this change.

Ran

actionlint on ci.yml. CI on this head missed the new key, built the compiler and passed.

@octalide
octalide marked this pull request as ready for review October 8, 2026 11:34
@octalide
octalide merged commit dc085fc into dev Oct 8, 2026
2 checks passed
@octalide
octalide deleted the chore/cache-arch branch October 8, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant