Commit 3afe11d
fix(conformance): wait for operator Deployment to be Available before specs
The idempotency conformance job ran `make deploy` and immediately executed
the suite. `make deploy` only applies manifests (kustomize build | kubectl
apply --server-side) and returns before the controller-manager Pod has
pulled its image, started, and won leader election. On a cold kind cluster
the first Instance was therefore applied while nothing was reconciling, and
the 2m owned-resource wait expired ("did not have its owned StatefulSet and
Service created within 2m0s").
openclaw-operator's conformance harness does not hit this because it installs
the operator via `helm upgrade --install ... --wait --timeout=10m`, which
blocks until the Deployment is Available. Paperclip's harness had no
equivalent gate.
Fix (mirrors openclaw):
- conformance.yaml: after `make deploy`, block on `kubectl rollout status`
and `kubectl wait --for=condition=Available` for the controller-manager
Deployment before running the suite.
- BeforeSuite: wait for the operator Deployment to be Available before any
Instance is created (defense-in-depth for local runs).
- Bump idempotencyCreateWait 2m -> 5m for headroom on a busy kind cluster.
No conformance assertions are weakened; the gate stays meaningful.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 0b0ea44 commit 3afe11d
3 files changed
Lines changed: 29 additions & 2 deletions
File tree
- .github/workflows
- test/conformance
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
55 | 68 | | |
56 | 69 | | |
57 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
57 | 69 | | |
58 | 70 | | |
59 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
0 commit comments