Skip to content

ci: run the soak harness test in bazel test; drop dead warm-up targets; pin cloud-provider-kind - #1279

Merged
bpalermo merged 1 commit into
upgrade/ci-actionlintfrom
upgrade/ci-workflow-leftovers
Oct 5, 2026
Merged

bpalermo merged 1 commit into
upgrade/ci-actionlintfrom
upgrade/ci-workflow-leftovers

Conversation

@bpalermo

@bpalermo bpalermo commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Stack 3/3 (#1276 → #1278 → #1279).

Cleanup left over from today's refactors (#1256, #1261/#1262, #1265).

Changes

  • e2e/soak/harness_test.sh (e2e/soak: restart watchdog (#1242) + event-synced uds-csi window (#1243) #1265, 34 offline cases) was not run anywhere. It is now //e2e/soak:harness_test, an sh_test. It puts the Bazel-pinned jq (jq.bzl, added as a direct dep in ci: stuck-run watchdog (report always, cancel only superseded runs); timeout-minutes on every non-release job #1276) on PATH as jq, which is the name restart-watch.sh calls. It therefore runs in bazel test //..., and in ci.yaml's test leg whenever the harness changes. It runs locally in 1.8 s and passes all 34 cases (jq-1.7). The file's header and the BUILD comment no longer say "run by hand".

  • Dead warm-up target (confirmed). Both ci.yaml shell and proxy.yml shell warmed @buildifier_prebuilt//:buildifier, but nothing in either job runs buildifier:

    Removed in both jobs.

  • e2e.yaml installed sigs.k8s.io/cloud-provider-kind@latest and ran it under sudo. Any upstream release could change what the gate runs without a commit here. It is now pinned to v0.12.0 (released 2026-10-02), which is what @latest resolves to today, so the change is a no-op for now.

  • Stale comments:

    • ci.yaml shell said "17 source files"; there are now 70 scripts.
    • main.yaml test mentioned "the proxy-ready linkage guard"; it now runs five guards.

Checked and left alone

  • Kind / Bazel setup that bypasses the composites: none outside the three release workflows. bazel-contrib/setup-bazel is used directly only in publish.yaml, proxy-release.yml (×2) and publish-verify.yaml; helm/kind-action only inside setup-kind. //e2e:kind_pin_test already enforces the kind half.
  • Duplication, reported but not refactored:
    • gateway-http and mesh-http still repeat about 12 steps each: images, kind, CRDs, helm install, gateway-api checkout, report, logs. This duplication is older than ci: compose every kind job from .github/actions/setup-kind (#1251) #1261; run-e2e-script covers only the script-driven jobs.
    • The "Check formatting" language-set block is copied in ci.yaml format and proxy.yml shell.

Proof

  • bazel test //e2e/soak:harness_test //bazel/actionlint:actionlint_test //e2e:kind_pin_test //website:site_test //scripts:stuck_runs_test: pass.
  • bazel build --config=lint --@aspect_rules_lint//lint:fail_on_violation //e2e/... //scripts:all //bazel/...: clean.
  • make format-check: clean.
  • scripts/check-shell-lint.sh: all 70 scripts covered.
  • Nightly e2e.yaml dispatched on this branch with only=all, covering the whole stack's e2e.yaml changes: run 37367311728. Results will be added as a comment.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

@bpalermo
bpalermo added this pull request to stack #1280 October 5, 2026 20:02
@bpalermo bpalermo changed the title ci: wire the soak harness test into bazel test; drop dead warm-up targets; pin cloud-provider-kind ci: run the soak harness test in bazel test; drop dead warm-up targets; pin cloud-provider-kind Oct 5, 2026
@bpalermo
bpalermo marked this pull request as ready for review October 5, 2026 20:04
…gets; pin cloud-provider-kind

- e2e/soak/harness_test.sh (#1265, 34 offline cases) ran nowhere: it needed
  jq from the host. It is now //e2e/soak:harness_test, an sh_test with the
  Bazel-pinned jq (jq.bzl) put on PATH, so it runs in bazel test //... and in
  ci.yaml's test leg whenever the soak harness changes.
- The shell jobs in ci.yaml and proxy.yml warmed @buildifier_prebuilt
  //:buildifier, which nothing in either job runs since scripts/lint-proxy.sh
  stopped running buildifier (#1256); --config=lint's aspects are buf,
  shellcheck and gocognit, and proxy.yml's //:format.check warm-up already
  covers the formatter's buildifier.
- e2e.yaml installed sigs.k8s.io/cloud-provider-kind@latest (then run under
  sudo): pinned to v0.12.0, what @latest resolves to today.
- Stale comments: ci.yaml's shell job ("17 source files" -> 70) and
  main.yaml's test job ("the proxy-ready linkage guard" -> five guards).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
@bpalermo
bpalermo force-pushed the upgrade/ci-workflow-leftovers branch from a197d92 to 9426bc0 Compare October 5, 2026 22:05
@bpalermo
bpalermo merged commit e775f4b into main Oct 5, 2026
46 checks passed
@bpalermo
bpalermo deleted the upgrade/ci-workflow-leftovers branch October 5, 2026 22:39
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.

1 participant