Skip to content

fix: add arch to cache key - #493

Merged
HarithaVattikuti merged 1 commit into
actions:mainfrom
ZxillyFork:main
Aug 26, 2024
Merged

fix: add arch to cache key#493
HarithaVattikuti merged 1 commit into
actions:mainfrom
ZxillyFork:main

Conversation

@Zxilly

@Zxilly Zxilly commented Jul 25, 2024

Copy link
Copy Markdown
Contributor

Description:

GitHub has added the arm64 runner, so arch should be used as part of the cache key. Otherwise, if there are macos-13 macos-14 running at the same time, the late executor will get the wrong cache.

Related issue:

actions/setup-python#896

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@Zxilly
Zxilly requested a review from a team as a code owner July 25, 2024 07:46
@kolyshkin

Copy link
Copy Markdown

See also: #368, #383

@Zxilly

Zxilly commented Aug 14, 2024

Copy link
Copy Markdown
Contributor Author

@kolyshkin This mainly happens on macOS amd64/arm64, and the previous patch didn't resolve it.

@kolyshkin

Copy link
Copy Markdown

@kolyshkin This mainly happens on macOS amd64/arm64, and the previous patch didn't resolve it.

I agree. Yet one day we'll have Windows and Linux on ARM and this will be needed there as well. Thanks for adding, LGTM(NB).

@Zxilly

Zxilly commented Aug 15, 2024

Copy link
Copy Markdown
Contributor Author

For GitHub Enterprise we already have Linux arm64 provided by ARM.

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.

5 participants