René's URL Explorer Experiment


Title: perf(ci): disable GOMODCACHE by default in cache-go-dependencies by davdhacs · Pull Request #19688 · stackrox/stackrox · GitHub

Open Graph Title: perf(ci): disable GOMODCACHE by default in cache-go-dependencies by davdhacs · Pull Request #19688 · stackrox/stackrox

X Title: perf(ci): disable GOMODCACHE by default in cache-go-dependencies by davdhacs · Pull Request #19688 · stackrox/stackrox

Description: Description Remove GOMODCACHE caching from CI. Go lazy-downloads only the modules each job needs from the global proxy. Timing — all affected jobs Unit Tests workflow (master vs PR, single run): Job Master PR Cache (before → after) go (GOTAGS="") 36.3m 35.6m 111s → 42s go (GOTAGS=release) 31.9m 31.4m 111s → 40s go-postgres (GOTAGS="") 31.9m 28.3m 76s → 17s go-postgres (release) 27.3m 31.0m 88s → 21s sensor-integration 22.3m 21.4m 71s → 10s go-bench 20.5m 17.3m 90s → 14s local-roxctl 8.9m 8.1m 80s → 24s Style workflow (master vs PR averages, 5 PR runs): Job Master PR avg Cache (before → after) style-check 19.8m 17.2m 111s → 35s check-generated-files 11.6m 11.6m 71s → 13s Build workflow (master vs PR, 3 PR runs): Job Master PR avg Cache (before → after) pre-build-cli 6.4m 4.9m 122s → 49s pre-build-go-binaries (amd64) 5.0m 3.4m 90s → 16s pre-build-docs 5.2m 1.7m 67s → 2s Cache step 60-100s faster across all jobs. Total time unchanged or faster. Changes Remove GOMODCACHE save/restore and make deps from cache action Add go mod download github.com/stackrox/scanner to style and build workflows for scanner proto generation Remove go mod tidy "Resolve mods for protos" steps from build.yaml protogen.mk and copy_scanner_protos.sh unchanged Testing and quality CI results inspected How I validated my change Multiple CI runs across all three workflows. All jobs pass. Cache step 60-100s faster. Total time unchanged or faster. Partially generated by AI.

Open Graph Description: Description Remove GOMODCACHE caching from CI. Go lazy-downloads only the modules each job needs from the global proxy. Timing — all affected jobs Unit Tests workflow (master vs PR, single run): ...

X Description: Description Remove GOMODCACHE caching from CI. Go lazy-downloads only the modules each job needs from the global proxy. Timing — all affected jobs Unit Tests workflow (master vs PR, single run): ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:08f96aa3-eea8-1753-9d06-63a03c435f18
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC5E0:2EEEB5:ECB38F:1433B50:6A4D5EBE
html-safe-nonce3450ca0499875a79af86ad5abbec203c18e1dc8eb13e58e14eec6e774fa6b5b4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUUwOjJFRUVCNTpFQ0IzOEY6MTQzM0I1MDo2QTRENUVCRSIsInZpc2l0b3JfaWQiOiI2ODkyNjMyMTI2MjExODQxNzI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac988bbee1124f92927552e65045b2852c0df46616289fdd230c7bbed5d0f83127
hovercard-subject-tagpull_request:3467059714
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/19688/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:altDescription Remove GOMODCACHE caching from CI. Go lazy-downloads only the modules each job needs from the global proxy. Timing — all affected jobs Unit Tests workflow (master vs PR, single run): ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441
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
releasef3bdd3157ea1f0fd738d408eceeead721acf1dc3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/stackrox/stackrox/pull/19688/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fpull%2F19688%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%2F19688%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/19688/files
Reloadhttps://github.com/stackrox/stackrox/pull/19688/files
Reloadhttps://github.com/stackrox/stackrox/pull/19688/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19688/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 549 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/skip-gomodcachehttps://github.com/stackrox/stackrox/tree/davdhacs/skip-gomodcache
Conversation 13 https://github.com/stackrox/stackrox/pull/19688
Commits 10 https://github.com/stackrox/stackrox/pull/19688/commits
Checks 102 https://github.com/stackrox/stackrox/pull/19688/checks
Files changed https://github.com/stackrox/stackrox/pull/19688/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19688/files
perf(ci): disable GOMODCACHE by default in cache-go-dependencies https://github.com/stackrox/stackrox/pull/19688/files#top
Show all changes 10 commits https://github.com/stackrox/stackrox/pull/19688/files
ad9746b perf(ci): add cache-mod input to disable GOMODCACHE by default davdhacs Mar 30, 2026 https://github.com/stackrox/stackrox/pull/19688/commits/ad9746bd14a5d2dd17973e7d4e39eae09121cdeb
e22d7fe perf(ci): remove make deps from cache action, rely on lazy download davdhacs Mar 30, 2026 https://github.com/stackrox/stackrox/pull/19688/commits/e22d7fe0cb227a232388dc3a90a6b8c7bbfa210f
2e62ce7 fix: download scanner module before resolving its directory davdhacs Mar 30, 2026 https://github.com/stackrox/stackrox/pull/19688/commits/2e62ce7469092aeba1609f6f541a49549a89cb4f
2f5c9b7 fix: download scanner module in protogen.mk before resolving Dir davdhacs Mar 30, 2026 https://github.com/stackrox/stackrox/pull/19688/commits/2f5c9b7977a02f33e47b3b12bb25506331cb62e6
6254b26 perf(ci): remove GOMODCACHE caching and make deps entirely davdhacs Mar 30, 2026 https://github.com/stackrox/stackrox/pull/19688/commits/6254b264742d6f9e3531b60cd924c00943fb65e0
0114b7d empty: retry CI (container init was failing) davdhacs Mar 30, 2026 https://github.com/stackrox/stackrox/pull/19688/commits/0114b7d27c4f8476b159ced9a8d38ab7dd5e6410
bd2b70d empty: timing data point 2 davdhacs Mar 30, 2026 https://github.com/stackrox/stackrox/pull/19688/commits/bd2b70da33f5326c029e0d02e7b00faaea78eca8
d941366 empty: timing data point 3 davdhacs Mar 30, 2026 https://github.com/stackrox/stackrox/pull/19688/commits/d941366a4780ccd03f6695ceb0f7f5c0b49f034f
20b1014 empty: timing data point 6 davdhacs Mar 31, 2026 https://github.com/stackrox/stackrox/pull/19688/commits/20b1014d7d35766667ad40325b7c4903163a0448
7544f30 Merge origin/master into davdhacs/skip-gomodcache davdhacs Mar 31, 2026 https://github.com/stackrox/stackrox/pull/19688/commits/7544f3013fa7fa6e08146f0c1a652719312b4884
Clear filters https://github.com/stackrox/stackrox/pull/19688/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19688/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19688/files
action.yaml https://github.com/stackrox/stackrox/pull/19688/files#diff-89b6e576fce993588689a097e8c3b7f028a178aa5db857dc37778de26302c813
build.yaml https://github.com/stackrox/stackrox/pull/19688/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1
style.yaml https://github.com/stackrox/stackrox/pull/19688/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L113
.github/actions/cache-go-dependencies/action.yamlhttps://github.com/stackrox/stackrox/pull/19688/files#diff-89b6e576fce993588689a097e8c3b7f028a178aa5db857dc37778de26302c813
View file https://github.com/stackrox/stackrox/blob/7544f3013fa7fa6e08146f0c1a652719312b4884/.github/actions/cache-go-dependencies/action.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19688/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19688/files#diff-89b6e576fce993588689a097e8c3b7f028a178aa5db857dc37778de26302c813
https://github.com/stackrox/stackrox/pull/19688/files#diff-89b6e576fce993588689a097e8c3b7f028a178aa5db857dc37778de26302c813
https://github.com/stackrox/stackrox/pull/19688/files#diff-89b6e576fce993588689a097e8c3b7f028a178aa5db857dc37778de26302c813
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L113
.github/workflows/build.yamlhttps://github.com/stackrox/stackrox/pull/19688/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1
View file https://github.com/stackrox/stackrox/blob/7544f3013fa7fa6e08146f0c1a652719312b4884/.github/workflows/build.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19688/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19688/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1
https://github.com/stackrox/stackrox/pull/19688/files#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L113
.github/workflows/style.yamlhttps://github.com/stackrox/stackrox/pull/19688/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
View file https://github.com/stackrox/stackrox/blob/7544f3013fa7fa6e08146f0c1a652719312b4884/.github/workflows/style.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19688/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19688/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
https://github.com/stackrox/stackrox/pull/19688/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
https://github.com/stackrox/stackrox/pull/19688/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
https://github.com/stackrox/stackrox/pull/19688/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19688/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.