René's URL Explorer Experiment


Title: perf(ci): shard go and go-postgres unit test jobs by davdhacs · Pull Request #19744 · stackrox/stackrox · GitHub

Open Graph Title: perf(ci): shard go and go-postgres unit test jobs by davdhacs · Pull Request #19744 · stackrox/stackrox

X Title: perf(ci): shard go and go-postgres unit test jobs by davdhacs · Pull Request #19744 · stackrox/stackrox

Description: Description Split Go test jobs into parallel shards and add supporting Makefile changes: Makefile changes: SKIP_DEPS: wrap deps target in ifdef SKIP_DEPS guard to skip go mod tidy in test-only CI jobs Split go-postgres-unit-tests into go-postgres-unit-tests-main / go-postgres-unit-tests-migrator subtargets for independent sharding Remove -count=1 from integration-unit-tests to allow Go test cache hits Workflow changes (unit-tests.yaml): go job → 5 shards: pkg-helm, pkg-other, central-1, central-2, rest go-postgres → 2 shards: main (central/pkg/tools), migrator (with -p 1) Split out from go job: go-integration: registries/scanners/notifiers integration tests go-operator-integration: operator test-integration + test-helm All Makefile changes are backward-compatible. Includes #19712 (host-runner test fixes). Split from #19678, replaces #19742. User-facing documentation CHANGELOG.md is updated OR update is not needed documentation PR is created and is linked above OR is not needed Testing and quality the change is production ready CI results are inspected Automated testing modified existing tests How I validated my change Previously validated on #19678. 🤖 Generated with Claude Code

Open Graph Description: Description Split Go test jobs into parallel shards and add supporting Makefile changes: Makefile changes: SKIP_DEPS: wrap deps target in ifdef SKIP_DEPS guard to skip go mod tidy in test-only CI ...

X Description: Description Split Go test jobs into parallel shards and add supporting Makefile changes: Makefile changes: SKIP_DEPS: wrap deps target in ifdef SKIP_DEPS guard to skip go mod tidy in test-only CI ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5c66e981-a9f6-cfcd-df77-8602e7beb68b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9162:24E3F0:12D9FE0:19949B9:6A4D6EEA
html-safe-nonce5002703ca73368249ef1b28bb2284e74b90a38c57678fc0db021b5bb4f0f3cfe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTYyOjI0RTNGMDoxMkQ5RkUwOjE5OTQ5Qjk6NkE0RDZFRUEiLCJ2aXNpdG9yX2lkIjoiMzczOTcyNzkwMTU4MDE2MDc0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac20b62a583f62e80aeaaa5a2d3b0a6ea118f391f9c5e48914bf22bdb330930613
hovercard-subject-tagpull_request:3477312475
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/19744/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 Split Go test jobs into parallel shards and add supporting Makefile changes: Makefile changes: SKIP_DEPS: wrap deps target in ifdef SKIP_DEPS guard to skip go mod tidy in test-only CI ...
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 full-width
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/19744/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fpull%2F19744%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%2F19744%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/19744/files
Reloadhttps://github.com/stackrox/stackrox/pull/19744/files
Reloadhttps://github.com/stackrox/stackrox/pull/19744/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19744/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 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/shard-go-testshttps://github.com/stackrox/stackrox/tree/davdhacs/shard-go-tests
Conversation 9 https://github.com/stackrox/stackrox/pull/19744
Commits 18 https://github.com/stackrox/stackrox/pull/19744/commits
Checks 114 https://github.com/stackrox/stackrox/pull/19744/checks
Files changed https://github.com/stackrox/stackrox/pull/19744/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19744/files
perf(ci): shard go and go-postgres unit test jobs https://github.com/stackrox/stackrox/pull/19744/files#top
Show all changes 18 commits https://github.com/stackrox/stackrox/pull/19744/files
b9c014f fix: host-runner compatibility for tests and scripts davdhacs Mar 31, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/b9c014f6e416c90b38e02376d60a0579d50cd262
3f50506 Merge remote-tracking branch 'origin/master' into davdhacs/host-runne… davdhacs Mar 31, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/3f50506fe2c93ae04cdd37e1d7a43fa40d5ba651
fe90602 Merge remote-tracking branch 'origin/master' into davdhacs/host-runne… davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/fe90602ec07dac71f71c8e9c9443a589cec6ce41
af1275f perf(ci): add SKIP_DEPS, split postgres targets, allow test caching davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/af1275fbdc613d42c108c1aa54983b4db4375154
58ea483 fix: use sed instead of grep -v in yq_multidoc davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/58ea4834ab9582f09ee92d722eee3fbeb2af7b29
f0fa0ff perf(ci): remove container from go, go-postgres, go-bench jobs davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/f0fa0ffb2e9a94b00c4fd58e2973a96552429cb4
928766b perf(ci): shard go and go-postgres unit test jobs davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/928766b055be3442eec830e205f431549b7f0a55
aaaff23 Merge remote-tracking branch 'origin/master' into davdhacs/shard-go-t… davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/aaaff238267f2f4c90e7b6a4078bce66030db669
fc6eb71 Merge remote-tracking branch 'origin/davdhacs/makefile-skip-deps' int… davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/fc6eb712fe5ac4807165598deebc00dab70564e0
9ea6507 refactor: use exclude pattern instead of hardcoded package list for r… davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/9ea6507cc92653df6f2b1f969b9679db21b0c161
220aa58 fix: use consistent BUILD_TAG/SHORTCOMMIT on go-operator-integration davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/220aa581ed74bbe13823619cf5a106251475e07e
62d8bca fix(ci): download scanner module for operator integration tests davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/62d8bcadbfbe1c2cee90d51a496c43ff9169c9df
44300dd fix(ci): remove junit steps from go-operator-integration davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/44300dd1177e7119892ff46f39d2c3bc829e21cf
d37671b docs(ci): add GOTOOLCHAIN override comments to all jobs davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/d37671b96d53890f1ca9613d1580df73f21f069b
298cc3c docs(ci): clarify GOTOOLCHAIN override comments davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/298cc3ca91fcc2a0078584cefc7b9e163a5a63e9
b12da02 docs(ci): fix GOTOOLCHAIN override comments davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/b12da02d2caa47098b94e6c7d3fdf489eb00b005
85f29e3 docs(ci): explain postgres docker config davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/85f29e31a8c96928f000ff6356397b0bba0e7bde
9c2e078 fix(ci): remove go-bench skip from shard PR davdhacs Apr 1, 2026 https://github.com/stackrox/stackrox/pull/19744/commits/9c2e07883f62b2360eb14dfa19d3f557e2ac2df3
Clear filters https://github.com/stackrox/stackrox/pull/19744/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19744/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19744/files
unit-tests.yaml https://github.com/stackrox/stackrox/pull/19744/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
Makefile https://github.com/stackrox/stackrox/pull/19744/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
detection_test.go https://github.com/stackrox/stackrox/pull/19744/files#diff-4527990f493d8e3fe922cbb8556a98c575022648f3f72766ce9ebe06f674d930
rate_limited_logger.go https://github.com/stackrox/stackrox/pull/19744/files#diff-e20dbe9bda46deb5d2dfe36073e73e169a4339399ce06ef23924175710706285
download_zip_test.go https://github.com/stackrox/stackrox/pull/19744/files#diff-4320b95f3044828b989737cb5d80c5f2d50f2212b43a70fc34c7fff9c6d82b65
lib.sh https://github.com/stackrox/stackrox/pull/19744/files#diff-ad45bac7d580b4045818e218bec2c8c5aefa845e151c07af5d93cd6151d3baa2
helpers.bash https://github.com/stackrox/stackrox/pull/19744/files#diff-5da64f5b39f299da4e2f06d05b8849bcbca568067881c56cea169e617e98a372
roxctl-netpol-generate-development.bats https://github.com/stackrox/stackrox/pull/19744/files#diff-0b8355763069fbd7c4ca4a2ff398541442cede8cb9b4b9a1a7a91351b965deec
roxctl-netpol-generate-release.bats https://github.com/stackrox/stackrox/pull/19744/files#diff-f3299a834adf0c267a495edbc6b6de26427d931f60bf770baea729a125145228
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L113
.github/workflows/unit-tests.yamlhttps://github.com/stackrox/stackrox/pull/19744/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
View file https://github.com/stackrox/stackrox/blob/9c2e07883f62b2360eb14dfa19d3f557e2ac2df3/.github/workflows/unit-tests.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19744/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19744/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19744/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19744/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
coderabbitaihttps://github.com/apps/coderabbitai
Apr 1, 2026https://github.com/stackrox/stackrox/pull/19744/files#r3024365750
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19744/files
https://github.com/stackrox/stackrox/pull/19744/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19744/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
coderabbitaihttps://github.com/apps/coderabbitai
Apr 1, 2026https://github.com/stackrox/stackrox/pull/19744/files#r3024365753
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19744/files
https://github.com/stackrox/stackrox/pull/19744/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19744/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19744/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19744/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19744/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
https://github.com/stackrox/stackrox/pull/19744/files#diff-6e608e02c595d53ab6b70822a2bf19abcfc6ddcc976c2f536ad5bfca20f0443f
Makefilehttps://github.com/stackrox/stackrox/pull/19744/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
View file https://github.com/stackrox/stackrox/blob/9c2e07883f62b2360eb14dfa19d3f557e2ac2df3/Makefile
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/19744/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/19744/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
https://github.com/stackrox/stackrox/pull/19744/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
https://github.com/stackrox/stackrox/pull/19744/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
https://github.com/stackrox/stackrox/pull/19744/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
https://github.com/stackrox/stackrox/pull/19744/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
https://github.com/stackrox/stackrox/pull/19744/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19744/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19744/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.