Title: perf(ci): add key-suffix to remaining matrix jobs sharing GOCACHE by davdhacs · Pull Request #19576 · stackrox/stackrox · GitHub
Open Graph Title: perf(ci): add key-suffix to remaining matrix jobs sharing GOCACHE by davdhacs · Pull Request #19576 · stackrox/stackrox
X Title: perf(ci): add key-suffix to remaining matrix jobs sharing GOCACHE by davdhacs · Pull Request #19576 · stackrox/stackrox
Description: Summary Add key-suffix to three matrix jobs that share GOCACHE keys across their variants. Problem After #19425 added GOCACHE trimming, matrix jobs that share a cache key have a new side-effect: each variant's trim step deletes entries used by other variants (since they weren't accessed during that variant's build). This turns cache sharing from "harmless bloat" into "actively deleting useful entries." Audit of all cache-go-dependencies usages found three remaining collisions: Workflow Job Matrix variants key-suffix unit-tests.yaml go GOTAGS="", GOTAGS=release missing unit-tests.yaml go-postgres GOTAGS="", GOTAGS=release missing scanner-build.yaml pre-build-scanner-go-binary default, prerelease, race-condition-debug missing build.yaml's pre-build-go-binaries and build-and-push-operator were already fixed in #19425. Fix Pass the matrix discriminator as key-suffix so each variant gets its own cache key. Partially generated by AI.
Open Graph Description: Summary Add key-suffix to three matrix jobs that share GOCACHE keys across their variants. Problem After #19425 added GOCACHE trimming, matrix jobs that share a cache key have a new side-effect: ea...
X Description: Summary Add key-suffix to three matrix jobs that share GOCACHE keys across their variants. Problem After #19425 added GOCACHE trimming, matrix jobs that share a cache key have a new side-effect: ea...
Opengraph URL: https://github.com/stackrox/stackrox/pull/19576
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e361cff7-4037-9501-f9f0-ec0933322e33 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CA24:29E627:D6EA18:12402B0:6A4D5EE9 |
| html-safe-nonce | d3cf5da7519285c420e533719686165a82048d471cfc0d311d765a4f49266561 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTI0OjI5RTYyNzpENkVBMTg6MTI0MDJCMDo2QTRENUVFOSIsInZpc2l0b3JfaWQiOiIzNjQ4Mjg0MDA5NDUwMjg4NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f219bde39448fbcdf76af5c461cb9e290778a69ab18db7ad4c500083fa222b68 |
| hovercard-subject-tag | pull_request:3441064456 |
| 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/stackrox/stackrox/pull/19576/files |
| twitter:image | https://avatars.githubusercontent.com/u/105243888?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/105243888?s=400&v=4 |
| og:image:alt | Summary Add key-suffix to three matrix jobs that share GOCACHE keys across their variants. Problem After #19425 added GOCACHE trimming, matrix jobs that share a cache key have a new side-effect: ea... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/stackrox/stackrox git https://github.com/stackrox/stackrox.git |
| octolytics-dimension-user_id | 40638982 |
| octolytics-dimension-user_login | stackrox |
| octolytics-dimension-repository_id | 434017296 |
| octolytics-dimension-repository_nwo | stackrox/stackrox |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 434017296 |
| octolytics-dimension-repository_network_root_nwo | stackrox/stackrox |
| 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 | f3bdd3157ea1f0fd738d408eceeead721acf1dc3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width