Skip to content

ci: run-conformance and format-check composite actions (#1286) - #1295

Merged
bpalermo merged 1 commit into
upgrade/e2e-pinned-gofrom
upgrade/ci-composite-conformance-format
Oct 6, 2026
Merged

bpalermo merged 1 commit into
upgrade/e2e-pinned-gofrom
upgrade/ci-composite-conformance-format

Conversation

@bpalermo

@bpalermo bpalermo commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Top of a two-PR stack, on #1294 (#1283).

Change

  • .github/actions/run-conformance is the body gateway-http and mesh-http used to repeat step for step (16 steps each). In order:

    1. The pinned Go (ci: e2e conformance jobs use the runner's preinstalled Go (no pinned toolchain) #1283).
    2. The images artifact, loaded into docker.
    3. setup-kind creating the cluster, then the images loaded into kind.
    4. Optionally, cloud-provider-kind.
    5. The Gateway API CRDs and the aether CRDs.
    6. helm install: the suite's --set values, then the shared image overrides.
    7. The readiness script.
    8. The gateway-api checkout, with the runner dropped in.
    9. The suite run, which now prints go version first.
    10. The report upload, diagnostics, and cleanup.

    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, diagnostics and soft.

  • Unchanged:

    • Job ids, if: and only= dispatch, and timeout-minutes: 90.
    • The needs: of report-failure.
    • The artifact names: gateway-http-conformance-report, mesh-http-conformance-report, conformance-logs and mesh-conformance-logs.
    • The report file names, and every diagnostics command.
    • mesh-http still collects and uploads its logs on every run (logs-when: always); gateway-http still does so only on failure.
  • .github/actions/format-check is the //:format.check run 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_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.
  • publish-verify.yaml: corrected the stale comment that named main.yaml's diff as the only root repository-cache saver. ci.yaml's diff saves too, and cache-save: true appears 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.yaml was 800 on main and 824 after #1294; with this PR it is 582. ci.yaml drops 15 lines and proxy.yml 12.

Proof

  • New test extensions seen red, each with the dependency removed from run-conformance:

    === action-without-setup-go (//e2e:go_pin_test):
        FAIL: .github/actions/run-conformance/action.yml:131: (action) runs go with the runner's preinstalled toolchain; add actions/setup-go with go-version-file: go.mod before it
    === action-without-setup-kind (//e2e:kind_pin_test):
        FAIL: .github/actions/run-conformance/action.yml: drives kind without .github/actions/setup-kind (it would run the runner's preinstalled kind and its default node image)
    
  • actionlint does not shellcheck composite actions. I ran shellcheck 0.11.0 by hand over every run: block of both actions and over the wait-for-ready/diagnostics scripts 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-check
  • Nightly 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-failure was skipped.

    last nightly on main (37302976000) this branch
    GATEWAY-HTTP core Passed 37, extended Passed 10, Failed 0 core Passed 37, extended Passed 10, Failed 0
    MESH-HTTP Passed 7, Failed 0 Passed 7, Failed 0
    Go runner Go, then auto-switching: requires go >= 1.26.0; switching to go1.26.8, plus downloads of go1.27.1 and go1.26.0 Successfully set up Go version 1.27.1, go version go1.27.1 linux/amd64 in both jobs, no toolchain downloads
    artifacts aether-images, gateway-http-conformance-report, mesh-http-conformance-report, mesh-conformance-logs identical set

    On 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

@bpalermo
bpalermo added this pull request to stack #1296 October 5, 2026 23:56
@bpalermo
bpalermo force-pushed the upgrade/ci-composite-conformance-format branch 2 times, most recently from a64fa5a to ca6b433 Compare October 6, 2026 00:42
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
bpalermo force-pushed the upgrade/ci-composite-conformance-format branch from ca6b433 to 7edb909 Compare October 6, 2026 01:04
@bpalermo
bpalermo merged commit 77ecc30 into main Oct 6, 2026
45 checks passed
@bpalermo
bpalermo deleted the upgrade/ci-composite-conformance-format branch October 6, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: gateway-http and mesh-http duplicate ~12 steps each; the format-check block is duplicated between ci.yaml and proxy.yml

1 participant