Commit 26443f0
fix: wait for block node pod termination before checking new pod readiness
waitForReadyStatus returned immediately seeing the still-Ready old pod after
deletion, completing deployment while the new pod was still starting. This
caused the consensus node to exhaust its gRPC publisher reconnect attempts
against a non-existent endpoint and never reconnect in the 5-minute window
before PUBLISHER_UNAVAILABILITY_TIMEOUT fired.
Add waitForPodsToTerminate between delete() and waitForReadyStatus() so that
the new pod is the one polled for Ready status, giving the CN time to
reconnect before the block node's publisher unavailability timer expires.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Jeffrey Tang <jeffrey@swirldslabs.com>1 parent 6c006a4 commit 26443f0
1 file changed
Lines changed: 12 additions & 0 deletions
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
807 | 819 | | |
808 | 820 | | |
809 | 821 | | |
| |||
0 commit comments