René's URL Explorer Experiment


Title: perf(ci): trim stale GOCACHE entries between runs by davdhacs · Pull Request #19425 · stackrox/stackrox · GitHub

Open Graph Title: perf(ci): trim stale GOCACHE entries between runs by davdhacs · Pull Request #19425 · stackrox/stackrox

X Title: perf(ci): trim stale GOCACHE entries between runs by davdhacs · Pull Request #19425 · stackrox/stackrox

Description: Remove unused GOCACHE entries before saving to GHA cache. Why? Go deletes unused GOCACHE entries, at most once per hour, and if not used for 5 days based on the cache file modified-time: https://github.com/golang/go/blob/224489f11c2e0b394e93980fc8292c52f60b18a8/src/cmd/go/internal/cache/cache.go#L337-L346 In CI, this means that we accumulate unused cached builds for a trailing 5 days of history. This is not useful because we are unlikely to re-use the cached builds that are not hit for a job on master (when the cache is saved for use by PRs), and the GHA cache downloads are slow (usually under 200mb/s). Cache Size Before: on master, gocache of 29GB uncompressed (7GB compressed) for pre-build-cli GOCACHE https://github.com/stackrox/stackrox/actions/runs/23369362079/job/67989828965#step:5:129 After: on this branch, trimmed to 11 GB uncompressed https://github.com/stackrox/stackrox/actions/runs/23103717499/job/67109229560#step:15:5

Open Graph Description: Remove unused GOCACHE entries before saving to GHA cache. Why? Go deletes unused GOCACHE entries, at most once per hour, and if not used for 5 days based on the cache file modified-time: https://gi...

X Description: Remove unused GOCACHE entries before saving to GHA cache. Why? Go deletes unused GOCACHE entries, at most once per hour, and if not used for 5 days based on the cache file modified-time: https://gi...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:2a16e7b0-29b7-1c15-2a55-61bce971d497
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE578:C61B2:7005AB:9F4ED8:6A4CADEA
html-safe-nonce51ce87b2d3c61cce743ef5f52fa1cebbe678094d5c53a0a737d840e7ce593551
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTc4OkM2MUIyOjcwMDVBQjo5RjRFRDg6NkE0Q0FERUEiLCJ2aXNpdG9yX2lkIjoiNTEwNjYxMjk0NzMxNzk5MjkzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacea694fd09760e1e3b9fda63dd16153ad58e99a34da0222840f9111e91b7e3fe7
hovercard-subject-tagpull_request:3398230876
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/19425/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:altRemove unused GOCACHE entries before saving to GHA cache. Why? Go deletes unused GOCACHE entries, at most once per hour, and if not used for 5 days based on the cache file modified-time: https://gi...
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/19425/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fpull%2F19425%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%2F19425%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/19425/files
Reloadhttps://github.com/stackrox/stackrox/pull/19425/files
Reloadhttps://github.com/stackrox/stackrox/pull/19425/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19425/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 543 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/gocache-trimhttps://github.com/stackrox/stackrox/tree/davdhacs/gocache-trim
Conversation 8 https://github.com/stackrox/stackrox/pull/19425
Commits 10 https://github.com/stackrox/stackrox/pull/19425/commits
Checks 86 https://github.com/stackrox/stackrox/pull/19425/checks
Files changed https://github.com/stackrox/stackrox/pull/19425/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19425/files
perf(ci): trim stale GOCACHE entries between runs https://github.com/stackrox/stackrox/pull/19425/files#top
Show all changes 10 commits https://github.com/stackrox/stackrox/pull/19425/files
bc4878b perf(ci): trim stale GOCACHE entries between runs davdhacs Mar 14, 2026 https://github.com/stackrox/stackrox/pull/19425/commits/bc4878ba3cce9a7487686b8a389b9e1ded420674
9b04f6d perf(ci): add key-suffix to separate build matrix caches davdhacs Mar 14, 2026 https://github.com/stackrox/stackrox/pull/19425/commits/9b04f6d7b1f430a2ba77bb602ecedff3eb5b3f9e
b345786 fix: add safety guards to trim-go-cache action davdhacs Mar 14, 2026 https://github.com/stackrox/stackrox/pull/19425/commits/b34578662aa13601b5719f6603eec1248349d1c0
781f24f refactor: move GOCACHE trim into cache-go-dependencies via post-step davdhacs Mar 14, 2026 https://github.com/stackrox/stackrox/pull/19425/commits/781f24f95ac6bda8425287f691e519fd46cf1b49
c6db67d fix: clean up extra blank lines and prevent trim from failing jobs davdhacs Mar 14, 2026 https://github.com/stackrox/stackrox/pull/19425/commits/c6db67dbae6945656ae345c04a376a32d5069861
74dfd66 fix: fold trim post-step into single line for gacts/run-and-post-run davdhacs Mar 14, 2026 https://github.com/stackrox/stackrox/pull/19425/commits/74dfd6661755602fc54f1c237d949219bac68059
5085680 fix: add 120s timeout to GOCACHE mtime backdating davdhacs Mar 15, 2026 https://github.com/stackrox/stackrox/pull/19425/commits/5085680951e6eb56fc4966040b395606ca3e868f
c747229 Merge branch 'master' into davdhacs/gocache-trim davdhacs Mar 15, 2026 https://github.com/stackrox/stackrox/pull/19425/commits/c747229f9de7f3cff41346c6eeda098416c61b07
8f84d09 chore: add comment explaining key-suffix dash expansion davdhacs Mar 15, 2026 https://github.com/stackrox/stackrox/pull/19425/commits/8f84d09b6c85e578076c3deff2ff9b51ecf1e7d0
90324be Merge branch 'master' into davdhacs/gocache-trim davdhacs Mar 23, 2026 https://github.com/stackrox/stackrox/pull/19425/commits/90324be4eb5e2734947a8a983c587d46f321ac26
Clear filters https://github.com/stackrox/stackrox/pull/19425/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19425/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19425/files
action.yaml https://github.com/stackrox/stackrox/pull/19425/files#diff-89b6e576fce993588689a097e8c3b7f028a178aa5db857dc37778de26302c813
build.yaml https://github.com/stackrox/stackrox/pull/19425/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L113
.github/actions/cache-go-dependencies/action.yamlhttps://github.com/stackrox/stackrox/pull/19425/files#diff-89b6e576fce993588689a097e8c3b7f028a178aa5db857dc37778de26302c813
View file https://github.com/stackrox/stackrox/blob/90324be4eb5e2734947a8a983c587d46f321ac26/.github/actions/cache-go-dependencies/action.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19425/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19425/files#diff-89b6e576fce993588689a097e8c3b7f028a178aa5db857dc37778de26302c813
https://github.com/stackrox/stackrox/pull/19425/files#diff-89b6e576fce993588689a097e8c3b7f028a178aa5db857dc37778de26302c813
https://github.com/stackrox/stackrox/pull/19425/files#diff-89b6e576fce993588689a097e8c3b7f028a178aa5db857dc37778de26302c813
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19425/files
https://github.com/stackrox/stackrox/pull/19425/files#diff-89b6e576fce993588689a097e8c3b7f028a178aa5db857dc37778de26302c813
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L113
.github/workflows/build.yamlhttps://github.com/stackrox/stackrox/pull/19425/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1
View file https://github.com/stackrox/stackrox/blob/90324be4eb5e2734947a8a983c587d46f321ac26/.github/workflows/build.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19425/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19425/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1
https://github.com/stackrox/stackrox/pull/19425/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1
https://github.com/stackrox/stackrox/pull/19425/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1
https://github.com/stackrox/stackrox/pull/19425/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19425/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.