Commit 45c015b
committed
fix: check job completion on re-entry to prevent premature pre-init cleanup
The plan.Phase == TaskPlanComplete check at the top of
reconcilePreInitializing was bypassing the isJobComplete guard on
subsequent reconcile loops, allowing cleanup to proceed while seid was
still syncing to halt-height. Add the Job completion check to the
re-entry path so cleanup only happens after the Job actually finishes.1 parent 86834b9 commit 45c015b
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
27 | 35 | | |
28 | 36 | | |
29 | 37 | | |
| |||
0 commit comments