feat(CI): reuse Go build cache across workflows#1347
Merged
Conversation
Add Go build caching to four additional PR workflows (pull_request, pull_request_integration_tests_arm, pull_request_k8s_integration_tests, pull_request_oats_test, workflow_integration_tests_vm) using the same secure pattern established in pull_request_integration_tests. Cache keys are workflow-specific to avoid invalidation between different test configurations (race vs non-race builds). Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1347 +/- ##
===========================================
+ Coverage 19.62% 38.28% +18.66%
===========================================
Files 242 308 +66
Lines 28332 33497 +5165
===========================================
+ Hits 5559 12824 +7265
+ Misses 22116 19905 -2211
- Partials 657 768 +111
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mmat11
approved these changes
Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Go build caching to four additional PR workflows using the same secure pattern established in
pull_request_integration_tests.yml. This extends build cache reuse from the integration test workflow to unit tests, ARM integration tests, K8s integration tests, OATS tests, and VM integration tests.Each workflow gets workflow-specific cache keys to avoid invalidation between different test configurations (e.g., race vs non-race builds). Cache hits will save 1-4 minutes of build time per job, with aggregate savings across sharded matrix jobs.
Checklist