Repository navigation
ci: compose every kind job from .github/actions/setup-kind (#1251) - #1261
Merged
Merged
Conversation
This was referenced Oct 5, 2026
bpalermo
marked this pull request as ready for review
October 5, 2026 14:16
Owner
Author
|
The nightly
Every job's log shows 🤖 Generated with Claude Code |
bpalermo
force-pushed
the
upgrade/setup-kind-action
branch
from
October 5, 2026 15:30
98f47c8 to
0f248b4
Compare
.github/actions/setup-kind reads e2e/kind-version.sh and drives helm/kind-action (SHA-pinned, v1.15.0) with the pinned kind, kubectl and node image: install-only for a job whose harness creates its own clusters, or create-the-cluster (with the post-step delete) when cluster_name is set — the two behaviours the conformance and ci.yaml e2e jobs already had. It also prints each cluster's kubelet version and node image as run evidence. Used by gateway-http, mesh-http, ci.yaml's e2e job, and — new — the six script-driven nightly jobs, which until now ran the runner's preinstalled kind and its default node image (1.37 while everything else ran 1.35). Those six (waypoint, replicator, uds, uds-csi, l4-routes, eastwest-quic) now share one body, .github/actions/run-e2e-script: load the build job's images, setup-kind, `<script> up`, report the clusters' Kubernetes, `<script> verify` (continue-on-error under the soft input), diagnostics + artifact on failure, `<script> down`. Each stays its own job — not a matrix leg — so report-failure still names the failing suite via needs.<job>.result, only=<suite> still selects it, and job names, timeouts, skip-build env vars, artifact names and log paths are unchanged; each job's diagnostics are carried verbatim as an input. e2e.yaml: 891 -> 759 lines. //e2e:kind_pin_test gains two checks: helm/kind-action is used only inside setup-kind (which must read the pin file), and every workflow job that drives kind or an e2e harness goes through setup-kind / run-e2e-script. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
force-pushed
the
upgrade/setup-kind-action
branch
from
October 5, 2026 16:02
0f248b4 to
c8e1193
Compare
This was referenced Oct 5, 2026
bpalermo
added a commit
that referenced
this pull request
Oct 6, 2026
The `gateway-http` and `mesh-http` jobs repeated the same 16 steps, and the "Check formatting" block was duplicated between ci.yaml's `format` and proxy.yml's `lint`. Both now live in composite actions, in the style of run-e2e-script/setup-kind (#1261/#1262). - .github/actions/run-conformance holds the pinned Go (#1283), the images artifact, setup-kind with the cluster, cloud-provider-kind (opt-in), the Gateway API + aether CRDs, `helm install` (suite `--set` values plus the shared image overrides), readiness, the gateway-api checkout, the suite run, the report upload, diagnostics and cleanup. Inputs cover what differs: profile, suite, cluster name, gateway-api version, helm values, readiness script, report file and artifact, logs dir and artifact, diagnostics, logs-when, soft. - Kept as before: job ids, `if:`/`only=` dispatch, timeouts (90m), report-failure's needs, the artifact names (gateway-http- and mesh-http-conformance-report, conformance-logs, mesh-conformance-logs) and the report file names. Also kept: each suite's diagnostics, and mesh-http collecting and uploading its logs on every run (`logs-when: always`) while gateway-http does so only on failure. - The suite step now prints `go version` first, as evidence of the toolchain. - .github/actions/format-check: the //:format.check run plus the language-set assertion (#853), with the expected languages as input (ci.yaml: Starlark, Go, Shell, Protocol Buffer; proxy.yml: Starlark, Shell). An empty input fails instead of asserting nothing. - //e2e:kind_pin_test check 7 now also covers composite actions: one that drives kind must use setup-kind. A job that calls run-conformance no longer has a kind command of its own. //e2e:go_pin_test scans only an action's `runs:` block, because input descriptions mention `go test`. Both were seen red with setup-go/setup-kind removed from run-conformance. - publish-verify.yaml: correct the stale comment that named main.yaml's `diff` as the only root repository-cache saver (ci.yaml's `diff` saves too). This edit was taken because #1291 changes that file at the same time. e2e.yaml: 824 -> 582 lines (800 on main before #1283). Closes #1286 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
added a commit
that referenced
this pull request
Oct 6, 2026
The `gateway-http` and `mesh-http` jobs repeated the same 16 steps, and the "Check formatting" block was duplicated between ci.yaml's `format` and proxy.yml's `lint`. Both now live in composite actions, in the style of run-e2e-script/setup-kind (#1261/#1262). - .github/actions/run-conformance holds the pinned Go (#1283), the images artifact, setup-kind with the cluster, cloud-provider-kind (opt-in), the Gateway API + aether CRDs, `helm install` (suite `--set` values plus the shared image overrides), readiness, the gateway-api checkout, the suite run, the report upload, diagnostics and cleanup. Inputs cover what differs: profile, suite, cluster name, gateway-api version, helm values, readiness script, report file and artifact, logs dir and artifact, diagnostics, logs-when, soft. - Kept as before: job ids, `if:`/`only=` dispatch, timeouts (90m), report-failure's needs, the artifact names (gateway-http- and mesh-http-conformance-report, conformance-logs, mesh-conformance-logs) and the report file names. Also kept: each suite's diagnostics, and mesh-http collecting and uploading its logs on every run (`logs-when: always`) while gateway-http does so only on failure. - The suite step now prints `go version` first, as evidence of the toolchain. - .github/actions/format-check: the //:format.check run plus the language-set assertion (#853), with the expected languages as input (ci.yaml: Starlark, Go, Shell, Protocol Buffer; proxy.yml: Starlark, Shell). An empty input fails instead of asserting nothing. - //e2e:kind_pin_test check 7 now also covers composite actions: one that drives kind must use setup-kind. A job that calls run-conformance no longer has a kind command of its own. //e2e:go_pin_test scans only an action's `runs:` block, because input descriptions mention `go test`. Both were seen red with setup-go/setup-kind removed from run-conformance. - publish-verify.yaml: correct the stale comment that named main.yaml's `diff` as the only root repository-cache saver (ci.yaml's `diff` saves too). This edit was taken because #1291 changes that file at the same time. e2e.yaml: 824 -> 582 lines (800 on main before #1283). Closes #1286 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
added a commit
that referenced
this pull request
Oct 6, 2026
The `gateway-http` and `mesh-http` jobs repeated the same 16 steps, and the "Check formatting" block was duplicated between ci.yaml's `format` and proxy.yml's `lint`. Both now live in composite actions, in the style of run-e2e-script/setup-kind (#1261/#1262). - .github/actions/run-conformance holds the pinned Go (#1283), the images artifact, setup-kind with the cluster, cloud-provider-kind (opt-in), the Gateway API + aether CRDs, `helm install` (suite `--set` values plus the shared image overrides), readiness, the gateway-api checkout, the suite run, the report upload, diagnostics and cleanup. Inputs cover what differs: profile, suite, cluster name, gateway-api version, helm values, readiness script, report file and artifact, logs dir and artifact, diagnostics, logs-when, soft. - Kept as before: job ids, `if:`/`only=` dispatch, timeouts (90m), report-failure's needs, the artifact names (gateway-http- and mesh-http-conformance-report, conformance-logs, mesh-conformance-logs) and the report file names. Also kept: each suite's diagnostics, and mesh-http collecting and uploading its logs on every run (`logs-when: always`) while gateway-http does so only on failure. - The suite step now prints `go version` first, as evidence of the toolchain. - .github/actions/format-check: the //:format.check run plus the language-set assertion (#853), with the expected languages as input (ci.yaml: Starlark, Go, Shell, Protocol Buffer; proxy.yml: Starlark, Shell). An empty input fails instead of asserting nothing. - //e2e:kind_pin_test check 7 now also covers composite actions: one that drives kind must use setup-kind. A job that calls run-conformance no longer has a kind command of its own. //e2e:go_pin_test scans only an action's `runs:` block, because input descriptions mention `go test`. Both were seen red with setup-go/setup-kind removed from run-conformance. - publish-verify.yaml: correct the stale comment that named main.yaml's `diff` as the only root repository-cache saver (ci.yaml's `diff` saves too). This edit was taken because #1291 changes that file at the same time. e2e.yaml: 824 -> 582 lines (800 on main before #1283). Closes #1286 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
added a commit
that referenced
this pull request
Oct 6, 2026
The `gateway-http` and `mesh-http` jobs repeated the same 16 steps, and the "Check formatting" block was duplicated between ci.yaml's `format` and proxy.yml's `lint`. Both now live in composite actions, in the style of run-e2e-script/setup-kind (#1261/#1262). - .github/actions/run-conformance holds the pinned Go (#1283), the images artifact, setup-kind with the cluster, cloud-provider-kind (opt-in), the Gateway API + aether CRDs, `helm install` (suite `--set` values plus the shared image overrides), readiness, the gateway-api checkout, the suite run, the report upload, diagnostics and cleanup. Inputs cover what differs: profile, suite, cluster name, gateway-api version, helm values, readiness script, report file and artifact, logs dir and artifact, diagnostics, logs-when, soft. - Kept as before: job ids, `if:`/`only=` dispatch, timeouts (90m), report-failure's needs, the artifact names (gateway-http- and mesh-http-conformance-report, conformance-logs, mesh-conformance-logs) and the report file names. Also kept: each suite's diagnostics, and mesh-http collecting and uploading its logs on every run (`logs-when: always`) while gateway-http does so only on failure. - The suite step now prints `go version` first, as evidence of the toolchain. - .github/actions/format-check: the //:format.check run plus the language-set assertion (#853), with the expected languages as input (ci.yaml: Starlark, Go, Shell, Protocol Buffer; proxy.yml: Starlark, Shell). An empty input fails instead of asserting nothing. - //e2e:kind_pin_test check 7 now also covers composite actions: one that drives kind must use setup-kind. A job that calls run-conformance no longer has a kind command of its own. //e2e:go_pin_test scans only an action's `runs:` block, because input descriptions mention `go test`. Both were seen red with setup-go/setup-kind removed from run-conformance. - publish-verify.yaml: correct the stale comment that named main.yaml's `diff` as the only root repository-cache saver (ci.yaml's `diff` saves too). This edit was taken because #1291 changes that file at the same time. e2e.yaml: 824 -> 582 lines (800 on main before #1283). Closes #1286 Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr Co-authored-by: Claude Fable 5.1 <[email protected]>
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.
Stack 2/3 (#1259 → #1261 → #1262). Builds on #1259's
e2e/kind-version.sh.What
Every e2e surface now runs the same Kubernetes (1.35.8), and the consistency comes from composite actions rather than reusable workflows. The release and signing workflows are not touched.
.github/actions/setup-kinde2e/kind-version.shand driveshelm/kind-action(SHA-pinned,v1.15.0) with the pinnedversion,kubectl_versionandnode_image.cluster_name: install only. kind and kubectl go into the tool cache and ontoPATHahead of the runner's preinstalled kind. Used where the harness or//test/e2ecreates its own clusters.cluster_nameset: also creates that cluster from the pinned image and deletes it in the post step.ci.yamle2e jobs already had when they called kind-action directly.Used by:
gateway-httpandmesh-http, which create their cluster through it;ci.yaml'se2ejob (install only);kindest/node:v1.37.0..github/actions/run-e2e-scriptThe body that waypoint, replicator, uds, uds-csi, l4-routes and eastwest-quic shared nearly line for line:
docker loadthe build job's images;setup-kind;<script> up, with the job's*_SKIP_BUILD=1;<script> verify, withcontinue-on-errorundersoft;<script> down.Why six jobs and not a matrix. Each suite stays its own job:
report-failurereadsneeds.<job>.resultper suite. A matrix collapses those into one result and the auto-filed issue could no longer name the failing suite.only=<suite>dispatch selects a job with a job-levelif:, which cannot see matrix values.ciandproxyare required by the ruleset, so this is about readability, not branch protection.Unchanged per job: job ids and names,
if:,timeout-minutes(60/60/45/45/60/60), skip-build env var, artifact name, log directory, and the diagnostics commands. The diagnostics were moved programmatically, byte for byte, into adiagnostics:input that runs withbash -elike the oldrun:steps. No${{ inputs.* }}is interpolated into a script: everything goes throughenv:. No permissions change.e2e.yaml: 911 → 759 lines.//e2e:kind_pin_testgains two checkshelm/kind-actionis used only insidesetup-kind, andsetup-kindreads the pin file.kind create|load|export|get|deleteor a./e2e/*.sh) goes throughsetup-kindorrun-e2e-script.Run against #1259's workflows, these flag both direct kind-action users and all nine kind-driving jobs (
ci.yamle2e,gateway-http,mesh-http, the six script jobs). On this branch they pass.Proof
actionlint(Docker, v1.7.12) reports no new findings compared withmainon every workflow. The findings it does report are older and sit on lines this PR does not touch.run:bodies pass ShellCheck. Lint andmake format-checkare clean.e2e.yamlwas dispatched on the top of the stack (ci: one .github/actions/setup-bazel for every non-release job #1262, which includes this PR): https://github.com/bpalermo/aether/actions/runs/37323288665. I'll add the results and the node image each job actually used as a comment here.🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr