Repository navigation
Commit b40319a
fix(client-runtime): connect to the primary environment while the device reports offline
The supervisor gated every target on the browser's network report, so a
wrong `navigator.onLine === false` parked the primary environment (the
server that served the page, or desktop's loopback backend) in offline,
Reconnect did nothing, and the diagnosis blamed the device. The primary
target's intent now reads an offline report as unknown, so it connects and
retries regardless, while the report itself still probes its live session
as before. Relay, bearer and SSH targets keep waiting while offline.
Fixes #29323
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 58d1c1c commit b40319a
2 files changed
Lines changed: 35 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
771 | 794 | | |
772 | 795 | | |
773 | 796 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
286 | 291 | | |
287 | 292 | | |
288 | | - | |
| 293 | + | |
289 | 294 | | |
290 | 295 | | |
291 | 296 | | |
| |||
1152 | 1157 | | |
1153 | 1158 | | |
1154 | 1159 | | |
1155 | | - | |
1156 | | - | |
1157 | | - | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
1158 | 1166 | | |
1159 | 1167 | | |
1160 | 1168 | | |
| |||
0 commit comments