perf(pipectl): wait on a watch instead of a five-second sleep #2007
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/pipectl-watch-waits"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase C. wait_release and wait_deploy snapshot, decide, then block on a bounded watch slice. Terminal case statements untouched — kubectl wait cannot OR phases, so the watch is only a wake-up.
Ceilings became wall-clock on SECONDS (a watch slice has no fixed duration, so an iteration count bounds nothing).
New guard executes the real functions against a fake kubectl; 2 mutations proved it (dropping --request-timeout, dropping the SIGPIPE
|| true).wait_wf deliberately unchanged — it polls the query service, so its long-poll is operator work.
128/128 guards.