Commit 53ab27b
committed
fix(restore): recover inactive tabs after hydration failure
Continue restoring saved workspace state when the initial session-list request fails transiently. The direct saved-session hydration path can recover after reconnect, preserving selection, runtime markers, scroll position, and the original tab order instead of appending the unresolved workspace after the active tab.
This behavior is shared by Electron and Tauri. Validated with the UI typecheck, production build, 65 restoration and reconciliation tests, and 13 instance runtime authority tests.1 parent d30449b commit 53ab27b
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
156 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
157 | 162 | | |
158 | 163 | | |
159 | 164 | | |
| |||
0 commit comments