René's URL Explorer Experiment


Title: perf(ci): disable go buildvcs stamping by davdhacs · Pull Request #19585 · stackrox/stackrox · GitHub

Open Graph Title: perf(ci): disable go buildvcs stamping by davdhacs · Pull Request #19585 · stackrox/stackrox

X Title: perf(ci): disable go buildvcs stamping by davdhacs · Pull Request #19585 · stackrox/stackrox

Description: Problem: Go 1.18+ silently enabled -buildvcs=auto, which stamps every binary with VCS metadata (commit, modified status) via debug.ReadBuildInfo(). No code in this repo reads this metadata — version info is injected via -X ldflags instead. The VCS stamping adds unnecessary overhead: Go must query git state for every build/test invocation, and changes to git state (e.g. untracked files) can invalidate build cache entries. Fix: Explicitly set -buildvcs=false in invoke_go() in go-tool.sh, which is the single choke point for all Go build/test/run invocations. Testing and quality CI results are inspected How I validated my change CI-only change (build flags). No functional difference — VCS metadata was never consumed. Verified locally: builds and tests pass with -buildvcs=false.

Open Graph Description: Problem: Go 1.18+ silently enabled -buildvcs=auto, which stamps every binary with VCS metadata (commit, modified status) via debug.ReadBuildInfo(). No code in this repo reads this metadata — versio...

X Description: Problem: Go 1.18+ silently enabled -buildvcs=auto, which stamps every binary with VCS metadata (commit, modified status) via debug.ReadBuildInfo(). No code in this repo reads this metadata — versio...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:61583064-5b28-de13-d63f-ecd29f198d60
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB09E:1EF3D5:A888FE:E12C03:6A4D7470
html-safe-nonceee9a85e19f7237df898f09161ba123a5e5a59176709db42e18eee00f05be82e0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDlFOjFFRjNENTpBODg4RkU6RTEyQzAzOjZBNEQ3NDcwIiwidmlzaXRvcl9pZCI6IjYwMTE1NjAzMzYwODcxNTE3MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac202b170936081f127cf21168e8ae03b7e2ed032587b29bbc9bc7b3031522f986
hovercard-subject-tagpull_request:3441903995
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/19585/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:altProblem: Go 1.18+ silently enabled -buildvcs=auto, which stamps every binary with VCS metadata (commit, modified status) via debug.ReadBuildInfo(). No code in this repo reads this metadata — versio...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e
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
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release399fff412f48461d435721c009efc17ea44be72f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/stackrox/stackrox/pull/19585/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fpull%2F19585%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%2F19585%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/19585/files
Reloadhttps://github.com/stackrox/stackrox/pull/19585/files
Reloadhttps://github.com/stackrox/stackrox/pull/19585/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19585/files
stackrox https://github.com/stackrox
stackroxhttps://github.com/stackrox/stackrox
Notifications https://github.com/login?return_to=%2Fstackrox%2Fstackrox
Fork 180 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 548 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/disable-buildvcs-testshttps://github.com/stackrox/stackrox/tree/davdhacs/disable-buildvcs-tests
Conversation 10 https://github.com/stackrox/stackrox/pull/19585
Commits 4 https://github.com/stackrox/stackrox/pull/19585/commits
Checks 84 https://github.com/stackrox/stackrox/pull/19585/checks
Files changed https://github.com/stackrox/stackrox/pull/19585/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19585/files
perf(ci): disable go buildvcs stamping https://github.com/stackrox/stackrox/pull/19585/files#top
Show all changes 4 commits https://github.com/stackrox/stackrox/pull/19585/files
0e04bb8 perf(ci): disable buildvcs for builds and tests davdhacs Mar 24, 2026 https://github.com/stackrox/stackrox/pull/19585/commits/0e04bb8f6f947b1042615ada3c347e12698d17d7
7d9589a refactor invoke_go davdhacs Mar 25, 2026 https://github.com/stackrox/stackrox/pull/19585/commits/7d9589ad94e576da938aab6707175d36a090590c
08dc5ca quote for clarity davdhacs Mar 25, 2026 https://github.com/stackrox/stackrox/pull/19585/commits/08dc5ca442363eb85664280045ad066c7630a17e
a1b8043 Merge branch 'master' into davdhacs/disable-buildvcs-tests davdhacs Mar 25, 2026 https://github.com/stackrox/stackrox/pull/19585/commits/a1b804351b32a6ef888cc9782d72d794e83a72ad
Clear filters https://github.com/stackrox/stackrox/pull/19585/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19585/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19585/files
scripts/go-tool.shhttps://github.com/stackrox/stackrox/pull/19585/files#diff-98fe5781c9a901030c3ba8b40f129fe11769fec10b4b2fb6dd0c67af124ce298
View file https://github.com/stackrox/stackrox/blob/a1b804351b32a6ef888cc9782d72d794e83a72ad/scripts/go-tool.sh
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19585/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19585/files#diff-98fe5781c9a901030c3ba8b40f129fe11769fec10b4b2fb6dd0c67af124ce298
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19585/files
https://github.com/stackrox/stackrox/pull/19585/files#diff-98fe5781c9a901030c3ba8b40f129fe11769fec10b4b2fb6dd0c67af124ce298
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19585/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.