Skip to content

ci(e2e): retry kind cluster bring-up to absorb runner flakes#41

Merged
joy-software merged 1 commit into
mainfrom
fix/e2e-kind-retry
Jun 7, 2026
Merged

ci(e2e): retry kind cluster bring-up to absorb runner flakes#41
joy-software merged 1 commit into
mainfrom
fix/e2e-kind-retry

Conversation

@joy-software

Copy link
Copy Markdown
Contributor

Why

After the per-engine e2e split, both legs pass reliably when the kind cluster comes up (verified: knative + keda Run e2e tests both success). The remaining red legs were helm/kind-action@v1 failing during cluster creation itself — a hosted-runner flake (image pulls / control-plane --wait), not our code.

What

Use helm/kind-action in install_only mode (just the kind/kubectl tooling), then create the cluster ourselves wrapped in a 3-attempt nick-fields/retry. Cluster name (elpio-dev) still comes from tests/e2e/kind-config.yaml. e2e stays non-blocking; this just cuts the bring-up flake rate.

The e2e legs intermittently failed inside helm/kind-action itself (the kind
cluster never came up: image pulls / control-plane wait timing out), which is
unrelated to the code under test. Install the kind tooling only, then create the
cluster ourselves wrapped in a 3-attempt retry. Both engine legs pass reliably
once the cluster is up; this just stops the bring-up flake from reddening them.
@joy-software joy-software merged commit 45dc91f into main Jun 7, 2026
9 checks passed
@joy-software joy-software deleted the fix/e2e-kind-retry branch June 7, 2026 21:54
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