René's URL Explorer Experiment


Title: fix(ci): GHA cache keys unique vs shared by davdhacs · Pull Request #19580 · stackrox/stackrox · GitHub

Open Graph Title: fix(ci): GHA cache keys unique vs shared by davdhacs · Pull Request #19580 · stackrox/stackrox

X Title: fix(ci): GHA cache keys unique vs shared by davdhacs · Pull Request #19580 · stackrox/stackrox

Description: Fix key issues for GHA cache of GOCACHE: unit-tests.yaml: add key-suffix for GOTAGS matrix go and go-postgres have GOTAGS matrix ("" / release) sharing one cache key. Each variant's trim deletes ~3GB of the other's entries every run. Fix: add key-suffix: ${{ matrix.gotags }}. scanner-build.yaml: set GOARCH on cache step pre-build-scanner-go-binary cross-compiles for 4 architectures but doesn't set GOARCH on the cache step. go env GOARCH returns the runner's native amd64, so all arches share one cache key with incompatible entries. Fix: add env: GOARCH: ${{ matrix.goarch }}. build.yaml: only separate race-condition-debug pre-build-go-binaries: default and prerelease share 93% of GOCACHE entries (only 6 packages use release build tags). Only separate race-condition-debug (-race/CGO_ENABLED=1, 39% unique). Verification Local GOCACHE entry overlap measurements: Variant New entries vs default Unique % Action prerelease (GOTAGS=release) +691 7% share race (-race, CGO_ENABLED=1) +6300 39% separate GOTAGS="" vs release (tests) +691 7% separate (trim causes 3GB/run thrashing) All CI passed (Build, Unit Tests, Style, Scanner). Partially generated by AI.

Open Graph Description: Fix key issues for GHA cache of GOCACHE: unit-tests.yaml: add key-suffix for GOTAGS matrix go and go-postgres have GOTAGS matrix ("" / release) sharing one cache key. Each variant's t...

X Description: Fix key issues for GHA cache of GOCACHE: unit-tests.yaml: add key-suffix for GOTAGS matrix go and go-postgres have GOTAGS matrix ("" / release) sharing one cache key. Each variant...

Opengraph URL: https://github.com/stackrox/stackrox/pull/19580

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d20cd796-06e9-b64a-69d5-36671b8ab380
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD5D0:10FBE0:DEBC25:13AF97F:6A4CAE83
html-safe-nonceb3fbeb11ceae2045785a65c7ece22f4c5276aa93ef060bc991c7f8401542ebcd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUQwOjEwRkJFMDpERUJDMjU6MTNBRjk3Rjo2QTRDQUU4MyIsInZpc2l0b3JfaWQiOiIyMDczMTQyNDA4NzQ5Mjk3MjgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac16ab32736e1b81ac0cc12c139aa1299c4bd35398d320a92970e4e4acc4d936e8
hovercard-subject-tagpull_request:3441392617
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/stackrox/stackrox/pull/19580/files
twitter:imagehttps://avatars.githubusercontent.com/u/105243888?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/105243888?s=400&v=4
og:image:altFix key issues for GHA cache of GOCACHE: unit-tests.yaml: add key-suffix for GOTAGS matrix go and go-postgres have GOTAGS matrix ("" / release) sharing one cache key. Each variant's t...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/stackrox/stackrox git https://github.com/stackrox/stackrox.git
octolytics-dimension-user_id40638982
octolytics-dimension-user_loginstackrox
octolytics-dimension-repository_id434017296
octolytics-dimension-repository_nwostackrox/stackrox
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id434017296
octolytics-dimension-repository_network_root_nwostackrox/stackrox
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseae90d426644ca15e89bacceb72e51f4e9dbf85f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/stackrox/stackrox/pull/19580/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fpull%2F19580%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fpull%2F19580%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=stackrox%2Fstackrox
Reloadhttps://github.com/stackrox/stackrox/pull/19580/files
Reloadhttps://github.com/stackrox/stackrox/pull/19580/files
Reloadhttps://github.com/stackrox/stackrox/pull/19580/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19580/files
stackrox https://github.com/stackrox
stackroxhttps://github.com/stackrox/stackrox
Notifications https://github.com/login?return_to=%2Fstackrox%2Fstackrox
Fork 181 https://github.com/login?return_to=%2Fstackrox%2Fstackrox
Star 1.3k https://github.com/login?return_to=%2Fstackrox%2Fstackrox
Code https://github.com/stackrox/stackrox
Issues 52 https://github.com/stackrox/stackrox/issues
Pull requests 542 https://github.com/stackrox/stackrox/pulls
Actions https://github.com/stackrox/stackrox/actions
Security and quality 0 https://github.com/stackrox/stackrox/security
Insights https://github.com/stackrox/stackrox/pulse
Code https://github.com/stackrox/stackrox
Issues https://github.com/stackrox/stackrox/issues
Pull requests https://github.com/stackrox/stackrox/pulls
Actions https://github.com/stackrox/stackrox/actions
Security and quality https://github.com/stackrox/stackrox/security
Insights https://github.com/stackrox/stackrox/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fstackrox%2Fstackrox%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fstackrox%2Fstackrox%2Fissues%2Fnew%2Fchoose
davdhacshttps://github.com/davdhacs
masterhttps://github.com/stackrox/stackrox/tree/master
davdhacs/fix-cache-key-separationhttps://github.com/stackrox/stackrox/tree/davdhacs/fix-cache-key-separation
Conversation 10 https://github.com/stackrox/stackrox/pull/19580
Commits 6 https://github.com/stackrox/stackrox/pull/19580/commits
Checks 98 https://github.com/stackrox/stackrox/pull/19580/checks
Files changed https://github.com/stackrox/stackrox/pull/19580/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19580/files
fix(ci): GHA cache keys unique vs shared https://github.com/stackrox/stackrox/pull/19580/files#top
Show all changes 6 commits https://github.com/stackrox/stackrox/pull/19580/files
db03586 perf(ci): stop over-separating GOCACHE for matrix variants that share… davdhacs Mar 24, 2026 https://github.com/stackrox/stackrox/pull/19580/commits/db035867d1933a589b66b123280c716f58b82cb1
326344a fix(ci): add key-suffix for unit-test GOTAGS matrix and scanner GOARCH davdhacs Mar 24, 2026 https://github.com/stackrox/stackrox/pull/19580/commits/326344ad367eb8fd31305be8527a4d5e58862606
86a4512 style: add parentheses to key-suffix conditional for clarity davdhacs Mar 24, 2026 https://github.com/stackrox/stackrox/pull/19580/commits/86a45120068cbe9925f79049781226f7120ea3bb
5a76028 revert: keep operator branding key-suffix (PR #19417 will refactor this) davdhacs Mar 25, 2026 https://github.com/stackrox/stackrox/pull/19580/commits/5a76028575fee4cb92d40927bf68cdc472e7903a
952e5be chore: add comment explaining race-only cache key separation davdhacs Mar 25, 2026 https://github.com/stackrox/stackrox/pull/19580/commits/952e5bef20c5f8372fabd3d255c18a96d943364a
f5bcf9d Merge remote-tracking branch 'origin/master' into davdhacs/fix-cache-… davdhacs Mar 31, 2026 https://github.com/stackrox/stackrox/pull/19580/commits/f5bcf9dab393645f8b50a2e757c8111458566389
Clear filters https://github.com/stackrox/stackrox/pull/19580/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19580/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19580/files
build.yaml https://github.com/stackrox/stackrox/pull/19580/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1
scanner-build.yaml https://github.com/stackrox/stackrox/pull/19580/files#diff-9ff08f51e9e9b767c00bc7066e8be6337cc5661d029248adc9557a9e6ab5fa3e
unit-tests.yaml https://github.com/stackrox/stackrox/pull/19580/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L113
.github/workflows/build.yamlhttps://github.com/stackrox/stackrox/pull/19580/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1
View file https://github.com/stackrox/stackrox/blob/f5bcf9dab393645f8b50a2e757c8111458566389/.github/workflows/build.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19580/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19580/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1
https://github.com/stackrox/stackrox/pull/19580/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L113
.github/workflows/scanner-build.yamlhttps://github.com/stackrox/stackrox/pull/19580/files#diff-9ff08f51e9e9b767c00bc7066e8be6337cc5661d029248adc9557a9e6ab5fa3e
View file https://github.com/stackrox/stackrox/blob/f5bcf9dab393645f8b50a2e757c8111458566389/.github/workflows/scanner-build.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19580/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19580/files#diff-9ff08f51e9e9b767c00bc7066e8be6337cc5661d029248adc9557a9e6ab5fa3e
https://github.com/stackrox/stackrox/pull/19580/files#diff-9ff08f51e9e9b767c00bc7066e8be6337cc5661d029248adc9557a9e6ab5fa3e
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L113
.github/workflows/unit-tests.yamlhttps://github.com/stackrox/stackrox/pull/19580/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
View file https://github.com/stackrox/stackrox/blob/f5bcf9dab393645f8b50a2e757c8111458566389/.github/workflows/unit-tests.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19580/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19580/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19580/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19580/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19580/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19580/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.