Repository navigation
fix(ci, e2e): every job runs a pinned Helm, first-install runs under Helm 3 and Helm 4, and the Gateway API release is one pin (#1580, #1581, #1583, #1543) - #1593
Merged
Conversation
…Helm 3 and Helm 4, and the Gateway API release is one pin (#1580, #1581, #1583, #1543) Helm (#1580): e2e/helm-version.sh pins one Helm 3 release (v3.22.0, what the runner image ships today), one Helm 4 release (v4.2.0, the rules_helm toolchain's) and the default major, 3. .github/actions/setup-helm installs from that file, checks the helm on PATH is the pinned one, and is the only user of azure/setup-helm. run-e2e-script, run-conformance and ci.yaml's proxy-pin job go through it; before, the e2e jobs ran the runner's Helm and proxy-pin ran azure/setup-helm's `latest`. first-install (#1543): the nightly job is a matrix over Helm 3 and Helm 4. Diagnostics (#1581): `helm list` takes its flags from helm_list_all_flags (-A -a under Helm 3, -A under Helm 4), in the workflow's diagnostics and in e2e/first-install.sh. Gateway API (#1583): e2e/gateway-api-version.sh, sourced by the nine harnesses that each assigned GWAPI_VERSION. e2e.yaml keeps one copy, held equal, as is go.mod's sigs.k8s.io/gateway-api. Tests: //e2e:helm_pin_test and //e2e:gateway_api_pin_test, in the style of kind_pin_test and go_pin_test. kind_pin_test no longer takes an action that sources a pin file by a ../ path for one that runs a harness. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
There was a problem hiding this comment.
🔵 Needs a closer look
The cross-cutting workflow and Helm 4 paths depend on nightly execution that has not yet run in CI.
0 open findings
What changed in this PR
Centralizes Helm and Gateway API versions across CI/e2e while adding dual Helm-major coverage.
Changes:
- Adds pinned Helm 3/4 installation through a composite action.
- Runs first-install under both Helm majors with compatible diagnostics.
- Centralizes Gateway API pins and adds drift tests/documentation.
| File | Description |
|---|---|
AGENTS.md |
Documents new pinning requirements. |
BUILD.bazel |
Extends CI-definition test inputs. |
.github/actions/setup-helm/action.yml |
Installs and verifies pinned Helm. |
.github/actions/run-e2e-script/action.yml |
Sets up the selected Helm major. |
.github/actions/run-conformance/action.yml |
Adds pinned Helm setup. |
.github/workflows/ci.yaml |
Uses the shared Helm action. |
.github/workflows/e2e.yaml |
Adds the Helm matrix and compatible diagnostics. |
docs/runbook.md |
Documents pin update procedures. |
e2e/BUILD.bazel |
Registers new pin tests. |
e2e/README.md |
Documents shared pins. |
e2e/authz.sh |
Sources the Gateway API pin. |
e2e/eastwest-quic.sh |
Sources the Gateway API pin. |
e2e/first-install.sh |
Uses shared Helm flags and Gateway API pin. |
e2e/gateway-api-version.sh |
Defines the Gateway API pin. |
e2e/gateway_api_pin_test.sh |
Detects Gateway API version drift. |
e2e/helm-version.sh |
Defines Helm versions and compatibility helpers. |
e2e/helm_pin_test.sh |
Enforces pinned Helm usage. |
e2e/kind_pin_test.sh |
Avoids a false harness-path match. |
e2e/l4routes.sh |
Sources the Gateway API pin. |
e2e/multicluster_config.sh |
Sources the Gateway API pin. |
e2e/multicluster_replicator.sh |
Sources the Gateway API pin. |
e2e/multicluster_waypoint.sh |
Sources the Gateway API pin. |
e2e/uds-csi.sh |
Sources the Gateway API pin. |
e2e/uds.sh |
Sources the Gateway API pin. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Oct 9, 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.
Three e2e/CI pins in one change, because they touch the same workflow, the same composite actions and the same harnesses. An agent wrote this.
Base:
77f9e8b7.Helm (#1580)
Before: the e2e jobs ran the runner image's Helm (3.22.0 on image
ubuntu24/20261004.327), andci.yaml'sproxy-pinjob ranazure/setup-helmwith noversion:, which installs the latest release.Now:
e2e/helm-version.shpins one Helm 3 release (v3.22.0), one Helm 4 release (v4.2.0) andHELM_DEFAULT_MAJOR(3)..github/actions/setup-helmreads that file, installs the release throughazure/setup-helm(SHA-pinned, the only use in the tree), and fails if thehelmonPATHis not the pinned one. A caller names a major (3,4or nothing), never a version.run-e2e-script,run-conformanceandproxy-pinuse it.Which major is the default, and why: Helm 3. It is the major every nightly suite has run on, so this change pins without changing what any existing job tests. None of the kind harnesses runs on a pull request, so a move to Helm 4 here would be unproven for eight suites at once. Helm 4 is covered where it can be: the rules_helm toolchain renders every chart template test with Helm 4.2.0 (verified:
bazel run @helm//:helm -- version --shortprintsv4.2.0), the pin test holdsHELM_V4_VERSIONequal to that toolchain, andfirst-installruns under both majors. Moving the default is one line in the pin file, to be proven by aworkflow_dispatchofe2e.yamlon the branch that does it.first-install under both majors (#1543)
The nightly
first-installjob is a matrix overhelm: ["3", "4"], passed ashelm-majortorun-e2e-scriptand from there tosetup-helm.e2e/first-install.shhas run under both since #1567. The diagnostics artifact is now one per leg (first-install-e2e-logs-helm3,-helm4).Diagnostics (#1581)
helm_list_all_flags(ine2e/helm-version.sh) gives-A -aunder Helm 3 and-Aunder Helm 4. The workflow's diagnostics ande2e/first-install.shboth use it, in place of thecasethe script had and thelist -A -athe workflow had.Gateway API (#1583)
e2e/gateway-api-version.shholdsGWAPI_VERSION. The nine harnesses that each assigned it now source the file.e2e.yamlkeeps one copy (GATEWAY_API_VERSION, a workflow cannot source a shell file), held equal by the test, as is go.mod'ssigs.k8s.io/gateway-api.Tests
//e2e:helm_pin_testand//e2e:gateway_api_pin_test, in the style ofkind_pin_testandgo_pin_test. Both were red against the unchanged tree:helm_pin_test:ci.yaml:470uses azure/setup-helm directly;run-conformance,run-e2e-scriptandproxy-pinrun helm with whatever the runner ships;e2e.yaml:564andfirst-install.sh:173spellhelm list -a; thefirst-installjob has no matrix.gateway_api_pin_test: each of the nine harnesses assignsGWAPI_VERSIONand does not source the pin file.Mutation check, on a copy of the files the tests read: 42 mutations, each one failing the test with the expected message. They cover the pin values,
helm_pin_versionandhelm_list_all_flags, the action (no version, a literal version, a tag ref, a download URL of its own, not reading the pin file), each caller losing itssetup-helmstep or running helm before it, ahelm list -ain the workflow or in a harness, the matrix (one major, none,helm-majornot passed), and for Gateway API a pin, go.mod or the workflow copy moved alone, a harness that assigns or stops sourcing, and a literal release in a URL.kind_pin_testchanges by one pattern: it tooksetup-helm's. "$GITHUB_ACTION_PATH/../../../e2e/helm-version.sh"for an action that runs an./e2e/harness. The two mutations that removesetup-kindfromrun-e2e-scriptandrun-conformancestill fail it.Local:
bazel run //bazel/actionlintclean;bazel test //e2e/... //scripts/... //bazel/actionlint:all31 pass; the lint build over//e2e/... //scripts/... //bazel/actionlint/... //:allclean;make format-checkclean;scripts/check-shell-lint.shOK; ShellCheck over therun:blocks of the new action clean.What this pull request does not prove
e2e.yamlruns nightly and onworkflow_dispatchonly. Unproven until its next run:setup-helmstep insiderun-e2e-script(waypoint, replicator, uds, uds-csi, authz, l4-routes, eastwest-quic, first-install) and insiderun-conformance(gateway-http, mesh-http);setup-helm(the download ofv4.2.0; both archives answer 200 on get.helm.sh) and thefirst-installleg under Helm 4 in CI. fix(chart, e2e): the edge's MeshConfig is in every revision's manifest, so helm rollback works to the revision that created the edge namespace (#1514, #1515, #1543) #1567 reports the suite green under 3.18.4 and 4.2.0 on a local kind; 3.22.0 is what the nightly job has been running;first-installfails;e2e/gateway-api-version.shat run time (bash -nand ShellCheck-xonly).Exercised by this pull request's own run:
setup-helmwith the default major, inproxy-pin, including itsPATHcheck; the two pin tests; actionlint.Files others are editing
.github/workflows/ci.yaml: lines 469-470 only (theproxy-pinjob's Helm step).scripts/BUILD.bazel: not touched..github/workflows/publish-verify.yaml: not touched.Closes #1580
Closes #1581
Closes #1583
Closes #1543
🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr