Commit 15c21c1
committed
fix(init): tighten stale-step detection and show reconnecting feedback
Two review recommendations from /review:
1. Tighten isStepAlreadyAdvancedError to match "was not suspended" instead
of "not suspended" — both Mastra error variants use the more specific
phrase, which reduces the false-positive surface area.
2. Show "Reconnecting..." spinner message before the runById recovery call
so the user sees feedback during a potentially slow state fetch instead
of watching a stale spinner message. Passes spin through ResumeRetryArgs
to give resumeWithRetry access to the running spinner handle.1 parent 90e8017 commit 15c21c1
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
| 436 | + | |
436 | 437 | | |
437 | 438 | | |
438 | 439 | | |
| |||
444 | 445 | | |
445 | 446 | | |
446 | 447 | | |
447 | | - | |
| 448 | + | |
448 | 449 | | |
449 | 450 | | |
450 | 451 | | |
| |||
474 | 475 | | |
475 | 476 | | |
476 | 477 | | |
477 | | - | |
| 478 | + | |
478 | 479 | | |
479 | 480 | | |
480 | 481 | | |
| |||
505 | 506 | | |
506 | 507 | | |
507 | 508 | | |
| 509 | + | |
508 | 510 | | |
509 | 511 | | |
510 | 512 | | |
| |||
739 | 741 | | |
740 | 742 | | |
741 | 743 | | |
| 744 | + | |
742 | 745 | | |
743 | 746 | | |
744 | 747 | | |
| |||
0 commit comments