← Back to Pull requests

ci: target current upgrade clusters in e2e_upgrade_test.sh #4841

Closed
unknown closed this pull request without merging on Nov 12, 2026 23:40 UTC
View on GitHub
unknown unknown commented on Nov 11, 2026 11:34 UTC
Author

What type of PR is this?

/kind bug

What this PR does / Why we need it:

The submit-upgrade-test-cloud-build step runs build/e2e_upgrade_test.sh, which still
lists Kubernetes 1.31, 1.32 and 1.33 in versionsAndRegions. Those upgrade clusters no
longer exist. build/terraform/upgrade/module.tf now provisions 1.34, 1.35 and 1.36, so
gcloud container clusters get-credentials fails with a 404 before any test runs:

ERROR: (gcloud.container.clusters.get-credentials) ResponseError: code=404,
  Not found: projects/agones-images/locations/us-east1/clusters/standard-upgrade-test-cluster-1-31

The step is non-blocking (|| echo "=== upgrade tests failed ==="), so the build still goes
green while the upgrade tests have effectively not run on any build.

This updates versionsAndRegions to match the clusters in build/terraform/upgrade/module.tf:

[1.36]=us-east4 [1.35]=us-west1 [1.34]=us-east1

The clusters themselves are already on 1.34-1.36 in the terraform module, so only the script
was out of sync.

It also fixes .github/ISSUE_TEMPLATE/kubernetes_update.md, which still points at
cloudbuild.yaml for the upgrade-test versionsAndRegions. #4165 moved that variable into
build/e2e_upgrade_test.sh, which is why the script was missed on the last two version bumps.
The template now points at the script.

Which issue(s) this PR fixes:

Closes #4804

Did you use AI tools in preparing this PR?:

Y

Special notes for your reviewer:

I could not run the Cloud Build upgrade step from here, since it needs the agones-images
project and the live GKE upgrade clusters. The change is a direct version and region sync
against build/terraform/upgrade/module.tf, and bash -n build/e2e_upgrade_test.sh passes.

🤖 Generated with Claude Code

Diff: 228 lines (+171 / -57) across 2 files Reviewer: igooch Review duration: 2165m
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 228 lines diff across 2 files
0.37
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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.325
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #4841"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 37.0% (MEDIUM) · Higher = larger blast radius
37.0%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 14.6% · Safe to merge
14.6%