Commit e431d8c
committed
fix(deploy): resolve online-eval step on re-deploys with no new configs
The TUI deploy screen renders an "Enable online evaluation" step whenever
projectSpec.onlineEvalConfigs is non-empty, but the step was only
transitioned to a terminal status inside the `if (newOnlineEvalFullSpecs
> 0 ...)` branch. On a re-deploy where every configured online eval was
already deployed in a prior run, that branch is skipped and the step
stays in 'pending', so areStepsComplete() never returns true and the
deploy phase never reaches 'complete' — the TUI hangs after the AWS
deploy itself succeeds.
Mirror the dataset-sync block above by marking the step success when
there are configs but nothing new to enable.1 parent 9fdab06 commit e431d8c
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
659 | 663 | | |
660 | 664 | | |
661 | 665 | | |
| |||
0 commit comments