Commit 0dc4343
fix: prevent templateHash from advancing during active rollout
updateStatus was overwriting templateHash when PlanInProgress was false,
even if RolloutInProgress was true. This caused a race: detectDeploymentNeeded
would set RolloutInProgress, but before reconcilePlan could build the plan,
updateStatus would advance the hash, and on the next reconcile no divergence
would be detected.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f2e9559 commit 0dc4343
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments