René's URL Explorer Experiment


Title: chore: add VERSION file with base version tag by davdhacs · Pull Request #19421 · stackrox/stackrox · GitHub

Open Graph Title: chore: add VERSION file with base version tag by davdhacs · Pull Request #19421 · stackrox/stackrox

X Title: chore: add VERSION file with base version tag by davdhacs · Pull Request #19421 · stackrox/stackrox

Description: Description Add a VERSION file containing the base version tag (4.11.x), following the same pattern as COLLECTOR_VERSION, SCANNER_VERSION, and FACT_VERSION. Changes VERSION — new file containing 4.11.x make/env.mk — make tag falls back to VERSION when git describe fails (enables shallow clones, .git-less builds) start-release.yml — verifies VERSION matches the release being created, updates VERSION on master to the next minor release Release automation The start-release workflow: Verifies the VERSION file matches the release (e.g. releasing 4.11.0 requires VERSION to contain 4.11.x). Fails early if they don't match. Updates VERSION on master to the next minor release (e.g. 4.12.x) after tagging. The release branch inherits the correct VERSION naturally from the branching point. Why This file is the foundation for enabling Go build and test caches across commits. Go's cache keys include -X ldflags; the per-commit MainVersion from git describe invalidates both the link cache (re-links all binaries) and test cache (re-runs all tests) on every commit. With a VERSION file, companion changes to go-tool.sh can use the stable base tag for test builds and linking, while release binaries still get the full git describe version. Measured impact (with companion go-tool.sh changes) Job Today With cache enabled Speedup go unit tests 45m 14m 3.3x go-postgres 35m 4m 8.7x sensor-integration 21m 5m 4x Build step (link cache) 41s ~21s 2x Test cache hit rate: 92% (1942/2108 packages). Data from PR #19404 which tested all changes together. Also enables Shallow clones (make tag falls back to VERSION when git describe fails) Faster status.sh (read file vs make tag overhead) Partially generated by AI.

Open Graph Description: Description Add a VERSION file containing the base version tag (4.11.x), following the same pattern as COLLECTOR_VERSION, SCANNER_VERSION, and FACT_VERSION. Changes VERSION — new file containing 4...

X Description: Description Add a VERSION file containing the base version tag (4.11.x), following the same pattern as COLLECTOR_VERSION, SCANNER_VERSION, and FACT_VERSION. Changes VERSION — new file containing 4...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:511fb883-2780-ab17-918d-c6b1692afc59
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC088:352AFE:C22618:1046801:6A4D46C9
html-safe-nonce0eb3b737fa232c7eb0a8f73186da5fb0844d199aeb5f339a042587daa4a4e976
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDg4OjM1MkFGRTpDMjI2MTg6MTA0NjgwMTo2QTRENDZDOSIsInZpc2l0b3JfaWQiOiI3NjczNjY0OTg4MzIyMjg1MjU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac94a2dc88e1b51ce62c08a0a513e9955ad90ac5c216c998b310e6c1bd346a9ca4
hovercard-subject-tagpull_request:3396063190
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/19421/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 Add a VERSION file containing the base version tag (4.11.x), following the same pattern as COLLECTOR_VERSION, SCANNER_VERSION, and FACT_VERSION. Changes VERSION — new file containing 4...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
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
release56fc8347865a14e2ec811533d68f929cf4e0ec19
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/stackrox/stackrox/pull/19421/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fpull%2F19421%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%2F19421%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/19421/files
Reloadhttps://github.com/stackrox/stackrox/pull/19421/files
Reloadhttps://github.com/stackrox/stackrox/pull/19421/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19421/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/version-filehttps://github.com/stackrox/stackrox/tree/davdhacs/version-file
Conversation 5 https://github.com/stackrox/stackrox/pull/19421
Commits 2 https://github.com/stackrox/stackrox/pull/19421/commits
Checks 85 https://github.com/stackrox/stackrox/pull/19421/checks
Files changed https://github.com/stackrox/stackrox/pull/19421/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19421/files
chore: add VERSION file with base version tag https://github.com/stackrox/stackrox/pull/19421/files#top
Show all changes 2 commits https://github.com/stackrox/stackrox/pull/19421/files
a4740db chore: add VERSION file with base version tag davdhacs Mar 13, 2026 https://github.com/stackrox/stackrox/pull/19421/commits/a4740dba47a3b35f793abb7d7c956f1c9510e197
1ccb305 perf(ci): use shallow clones for build and test jobs davdhacs Mar 13, 2026 https://github.com/stackrox/stackrox/pull/19421/commits/1ccb305a2dbd74369c87c1df9eab2c9a100ab9be
Clear filters https://github.com/stackrox/stackrox/pull/19421/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19421/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19421/files
scanner-db-integration-tests.yaml https://github.com/stackrox/stackrox/pull/19421/files#diff-ab632fb52b1def12aa43e763ed632b52c2445493771e59d8853ed37ae68702d1
start-release.yml https://github.com/stackrox/stackrox/pull/19421/files#diff-8fecaa58062d57bb3001008bce67dd6531d872f7fcf3713503cb5f4fdb9dc8db
style.yaml https://github.com/stackrox/stackrox/pull/19421/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
unit-tests.yaml https://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
VERSION https://github.com/stackrox/stackrox/pull/19421/files#diff-7b60b8e351cbb80c47459ffe2c79f1a26404871f49294780fe47ad0e58c09350
env.mk https://github.com/stackrox/stackrox/pull/19421/files#diff-bd2efa9d3787015820558718f5c38dd8298b5c98b4a6d53fff391f313be5ba4b
helpers.bash https://github.com/stackrox/stackrox/pull/19421/files#diff-5da64f5b39f299da4e2f06d05b8849bcbca568067881c56cea169e617e98a372
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L113
.github/workflows/scanner-db-integration-tests.yamlhttps://github.com/stackrox/stackrox/pull/19421/files#diff-ab632fb52b1def12aa43e763ed632b52c2445493771e59d8853ed37ae68702d1
View file https://github.com/stackrox/stackrox/blob/1ccb305a2dbd74369c87c1df9eab2c9a100ab9be/.github/workflows/scanner-db-integration-tests.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19421/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19421/files#diff-ab632fb52b1def12aa43e763ed632b52c2445493771e59d8853ed37ae68702d1
https://github.com/stackrox/stackrox/pull/19421/files#diff-ab632fb52b1def12aa43e763ed632b52c2445493771e59d8853ed37ae68702d1
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L113
.github/workflows/start-release.ymlhttps://github.com/stackrox/stackrox/pull/19421/files#diff-8fecaa58062d57bb3001008bce67dd6531d872f7fcf3713503cb5f4fdb9dc8db
View file https://github.com/stackrox/stackrox/blob/1ccb305a2dbd74369c87c1df9eab2c9a100ab9be/.github/workflows/start-release.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19421/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19421/files#diff-8fecaa58062d57bb3001008bce67dd6531d872f7fcf3713503cb5f4fdb9dc8db
https://github.com/stackrox/stackrox/pull/19421/files#diff-8fecaa58062d57bb3001008bce67dd6531d872f7fcf3713503cb5f4fdb9dc8db
https://github.com/stackrox/stackrox/pull/19421/files#diff-8fecaa58062d57bb3001008bce67dd6531d872f7fcf3713503cb5f4fdb9dc8db
https://github.com/stackrox/stackrox/pull/19421/files#diff-8fecaa58062d57bb3001008bce67dd6531d872f7fcf3713503cb5f4fdb9dc8db
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L113
.github/workflows/style.yamlhttps://github.com/stackrox/stackrox/pull/19421/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
View file https://github.com/stackrox/stackrox/blob/1ccb305a2dbd74369c87c1df9eab2c9a100ab9be/.github/workflows/style.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19421/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19421/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
https://github.com/stackrox/stackrox/pull/19421/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
https://github.com/stackrox/stackrox/pull/19421/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
https://github.com/stackrox/stackrox/pull/19421/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
https://github.com/stackrox/stackrox/pull/19421/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
https://github.com/stackrox/stackrox/pull/19421/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
https://github.com/stackrox/stackrox/pull/19421/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
https://github.com/stackrox/stackrox/pull/19421/files#diff-ed172028c45611bbbd94097b809625e60ca6c3028d72559ecd6919dcf151b60a
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L113
.github/workflows/unit-tests.yamlhttps://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
View file https://github.com/stackrox/stackrox/blob/1ccb305a2dbd74369c87c1df9eab2c9a100ab9be/.github/workflows/unit-tests.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19421/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19421/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
VERSIONhttps://github.com/stackrox/stackrox/pull/19421/files#diff-7b60b8e351cbb80c47459ffe2c79f1a26404871f49294780fe47ad0e58c09350
View file https://github.com/stackrox/stackrox/blob/1ccb305a2dbd74369c87c1df9eab2c9a100ab9be/VERSION
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19421/{{ revealButtonHref }}
make/env.mkhttps://github.com/stackrox/stackrox/pull/19421/files#diff-bd2efa9d3787015820558718f5c38dd8298b5c98b4a6d53fff391f313be5ba4b
View file https://github.com/stackrox/stackrox/blob/1ccb305a2dbd74369c87c1df9eab2c9a100ab9be/make/env.mk
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19421/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19421/files#diff-bd2efa9d3787015820558718f5c38dd8298b5c98b4a6d53fff391f313be5ba4b
https://github.com/stackrox/stackrox/pull/19421/files#diff-bd2efa9d3787015820558718f5c38dd8298b5c98b4a6d53fff391f313be5ba4b
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L47
tests/roxctl/bats-tests/helpers.bashhttps://github.com/stackrox/stackrox/pull/19421/files#diff-5da64f5b39f299da4e2f06d05b8849bcbca568067881c56cea169e617e98a372
View file https://github.com/stackrox/stackrox/blob/1ccb305a2dbd74369c87c1df9eab2c9a100ab9be/tests/roxctl/bats-tests/helpers.bash
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19421/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19421/files#diff-5da64f5b39f299da4e2f06d05b8849bcbca568067881c56cea169e617e98a372
https://github.com/stackrox/stackrox/pull/19421/files#diff-5da64f5b39f299da4e2f06d05b8849bcbca568067881c56cea169e617e98a372
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19421/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.