Title: CI: Use ImageOS (ubuntu24) instead of runner.os (Linux) in cache keys by hugovk · Pull Request #130200 · python/cpython · GitHub
Open Graph Title: CI: Use ImageOS (ubuntu24) instead of runner.os (Linux) in cache keys by hugovk · Pull Request #130200 · python/cpython
X Title: CI: Use ImageOS (ubuntu24) instead of runner.os (Linux) in cache keys by hugovk · Pull Request #130200 · python/cpython
Description: Problem In #129834 we recently switched the ubuntu-24.04-arm runners to ubuntu-22.04-arm. However, the CI jobs consistently broken due to an unknown GCC option: https://github.com/python/cpython/actions/runs/13214375613/job/36891873483?pr=129779 After clearing the config caches, a re-run passed: https://github.com/python/cpython/actions/runs/13214375613/job/36892182753?pr=129779 This was the cache key for "Restore config.cache" is: key: ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ inputs.config_hash }} Which evaluates to build_ubuntu_reusable-Linux-0.0.10-9cf14f6717fb4cec718ff086229088aa00b4e898b87da1d8f14119ec638f68e7 for both runners. That is because runner.os is Linux and env.IMAGE_VERSION is 0.0.10 for both. So they both used the same cache. Fix env.IMAGE_VERSION comes from $ImageVersion, and there's also a $ImageOS which gives ubuntu22 or ubuntu24. This will give us a fresh cache when we next change the OS version.
Open Graph Description: Problem In #129834 we recently switched the ubuntu-24.04-arm runners to ubuntu-22.04-arm. However, the CI jobs consistently broken due to an unknown GCC option: https://github.com/python/cpython/a...
X Description: Problem In #129834 we recently switched the ubuntu-24.04-arm runners to ubuntu-22.04-arm. However, the CI jobs consistently broken due to an unknown GCC option: https://github.com/python/cpython/a...
Opengraph URL: https://github.com/python/cpython/pull/130200
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4926ec4a-6fbd-d3de-9d33-2d432f73e8c8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C186:3AC180:195CFB0:2421944:6A5A2777 |
| html-safe-nonce | 0169354fa9440c0ab1c1426f60cc3857f6aab93001d34be7e0fd71f31fb250e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTg2OjNBQzE4MDoxOTVDRkIwOjI0MjE5NDQ6NkE1QTI3NzciLCJ2aXNpdG9yX2lkIjoiOTAyNjQyOTk4OTc3Mjk5NDQyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a844a498b5c1612b9e0cb08b50065f4c2b39b93b079ad73b0b9f06ee23e458e9 |
| hovercard-subject-tag | pull_request:2338336577 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/130200/files |
| twitter:image | https://avatars.githubusercontent.com/u/1324225?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1324225?s=400&v=4 |
| og:image:alt | Problem In #129834 we recently switched the ubuntu-24.04-arm runners to ubuntu-22.04-arm. However, the CI jobs consistently broken due to an unknown GCC option: https://github.com/python/cpython/a... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19c67ad7579d2401ff06e88a32ef45460fbb40fab3191c7f7582d5e166f326fc |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a3dea2706161c733403beb02e41d5765d358d44e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width