[tooling] Restore shared Go caches for E2E jobs #3637
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 310 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.343
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3637"
general
weight: 0.35
wdhif
What does this PR do?
Restore shared Go module and build caches for E2E jobs while keeping the consolidated core CI checks independent.
prepare_e2e_pluginsnow downloads the E2E module graph and compiles the packages with coverage enabled and-p 2, without executing tests. It publishes the module/build caches as a compressed, one-day pipeline artifact alongside the Pulumi plugins. AWS and GCP E2E jobs restore these caches before running their existing targets.Preparation retains
needs: []: it starts independently of core checks and operator image builds. Only E2E consumers wait for it. Registry publishing jobs explicitly skip artifact downloads so they do not inherit the large E2E archive through GitLab's default prior-stage downloads.Motivation
After removing the shared E2E Go cache, each E2E job repeats a cold dependency build. In the component-health run this left roughly 11 minutes between the last module-download message and the first test starting. Share that compilation work once per pipeline without making small build/lint jobs download the E2E graph again.
Additional Notes
Uses pipeline artifacts rather than a branch cache, so E2E consumers receive the cache produced for their own revision. The same CI image, architecture, and cache paths are used for preparation and execution. CI should confirm archive size/transfer time and the reduction in E2E startup time; this does not distribute standalone test binaries.
Minimum Agent Versions
No changes.
Describe your test plan
make lint: pass, 0 issues.GOWORK=off go test -C test/e2e -p 2 ./... -count=1 --tags=e2e -cover -run '^$': pass; all E2E packages compile without executing tests.Checklist
bug,enhancement,refactoring,documentation,tooling, and/ordependenciesqa/skip-qalabel[1]: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits