Commit c136dba
committed
fix(eta): show 'Scanning…' during Phase-2 online scan instead of 'Calculating…'
During the parallel online scan, state.totalNodes is 0 (set only post-scan,
pipeline.js ~802) and no node-test completions feed the ETA window, so the ETA
is genuinely incomputable. The bare 'Calculating…' (admin) / 'ETA —' (live) read
as frozen for the whole scan — minutes when many nodes are offline. Now both
surfaces show 'Scanning…' while totalNodes<=0 and running, then fall through to
'Calculating…' (population known, <2 completions) and the live countdown. No
change to the ETA math, ring, server, or TEST RUN paths.1 parent ed4ef5f commit c136dba
2 files changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1515 | 1515 | | |
1516 | 1516 | | |
1517 | 1517 | | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
1518 | 1524 | | |
| 1525 | + | |
| 1526 | + | |
1519 | 1527 | | |
1520 | 1528 | | |
1521 | 1529 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1739 | 1739 | | |
1740 | 1740 | | |
1741 | 1741 | | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
1742 | 1749 | | |
1743 | 1750 | | |
1744 | 1751 | | |
| |||
0 commit comments