Repository navigation
ci: run-conformance and format-check composite actions (#1286) - #1295
Merged
bpalermo merged 1 commit intoOct 6, 2026
Merged
Conversation
bpalermo
force-pushed
the
upgrade/ci-composite-conformance-format
branch
2 times, most recently
from
October 6, 2026 00:42
a64fa5a to
ca6b433
Compare
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
force-pushed
the
upgrade/ci-composite-conformance-format
branch
from
October 6, 2026 01:04
ca6b433 to
7edb909
Compare
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.
Top of a two-PR stack, on #1294 (#1283).
Change
.github/actions/run-conformanceis the bodygateway-httpandmesh-httpused to repeat step for step (16 steps each). In order:setup-kindcreating the cluster, then the images loaded into kind.helm install: the suite's--setvalues, then the shared image overrides.go versionfirst.The per-suite differences are inputs, in the style of
run-e2e-script(ci: compose every kind job from .github/actions/setup-kind (#1251) #1261/ci: one .github/actions/setup-bazel for every non-release job #1262):profile,suite,cluster-name,gateway-api-version,install-description,helm-set,ready-description,wait-for-ready,cloud-provider-kind,report-file,report-artifact-name,logs-dir,logs-artifact-name,logs-when,diagnosticsandsoft.Unchanged:
if:andonly=dispatch, andtimeout-minutes: 90.needs:ofreport-failure.gateway-http-conformance-report,mesh-http-conformance-report,conformance-logsandmesh-conformance-logs.logs-when: always); gateway-http still does so only on failure..github/actions/format-checkis the//:format.checkrun plus the No shell script in the root workspace is linted: the shellcheck aspect has no sh_* target to visit #853 language-set assertion, with the languages as input: ci.yaml uses Starlark, Go, Shell and Protocol Buffer; proxy.yml uses Starlark and Shell. An empty input now fails instead of asserting nothing.Tests:
//e2e:kind_pin_testcheck 7 now also covers composite actions: one that drives kind must use setup-kind. A job that callsrun-conformanceno longer has a kind command of its own.//e2e:go_pin_testscans only an action'sruns:block, because input descriptions mentiongo test.publish-verify.yaml: corrected the stale comment that named main.yaml's
diffas the only root repository-cache saver. ci.yaml'sdiffsaves too, andcache-save: trueappears only in ci.yaml, main.yaml and proxy.yml (proxy namespace). I took this edit because publish-verify: bound the scheduled sweep; report a timed-out sweep #1291 changes the same file right now, so the CodeQL re-raise is paid either way. The hunk is about 10 lines away from publish-verify: bound the scheduled sweep; report a timed-out sweep #1291's nearest hunk, so the two should merge cleanly.Line counts:
e2e.yamlwas 800 on main and 824 after #1294; with this PR it is 582.ci.yamldrops 15 lines andproxy.yml12.Proof
New test extensions seen red, each with the dependency removed from
run-conformance:actionlint does not shellcheck composite actions. I ran shellcheck 0.11.0 by hand over every
run:block of both actions and over thewait-for-ready/diagnosticsscripts in e2e.yaml, with expressions replaced by a placeholder: all clean.These all pass locally:
make actionlint: clean.bazel test //e2e/... //bazel/...: 12/12.bazel build --config=lint --@aspect_rules_lint//lint:fail_on_violation //...make format-checkNightly dispatch on this branch (
gh workflow run e2e.yaml --ref upgrade/ci-composite-conformance-format -f only=all): https://github.com/bpalermo/aether/actions/runs/37391217283. All 10 jobs succeeded;report-failurewas skipped.requires go >= 1.26.0; switching to go1.26.8, plus downloads of go1.27.1 and go1.26.0Successfully set up Go version 1.27.1,go version go1.27.1 linux/amd64in both jobs, no toolchain downloadsOn main the conformance Go was not pinned at all: it floated between three toolchains in one job, which is exactly the ci: e2e conformance jobs use the runner's preinstalled Go (no pinned toolchain) #1283 finding.
Closes #1286
🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr