Files
substrate/hack
Benjamin Elder 51f4114dc7 hack: wait for a pool's Deployment to exist before its rollout [CI flake fix] (#1320)
ate-controller creates a WorkerPool's Deployment, so it does not exist
yet when the apply returns.

`kubectl rollout status` reads the object before it starts watching and
errors on a missing one instead of waiting, so whether these waits
worked at all came down to beating the controller by a round trip.

e2e lost that race by 178ms, failing the deploy with NotFound while the
pool's pods were already being created.

Fixes yet another flake I observed here:
https://github.com/agent-substrate/substrate/actions/runs/33275880827/job/99162382080?pr=1283
2026-08-31 09:48:57 -07:00
..
2026-08-30 15:43:52 -07:00
2026-05-31 19:45:36 -07:00
2026-05-31 19:45:36 -07:00