brooklyn!
b4bad6fca1
fix(desktop): gate the boot WS probe extension on child liveness, not output
...
Follow-up to the progress-aware probe (#96177 ):
- Wait while the spawned child is alive instead of "alive and wrote output
in the last 30s". The stall this fixes is silent: the backend answers
HTTP, then holds the GIL importing gateway platform modules and prints
nothing until the loop recovers (the web_server heartbeat only logs
"event loop stalled" afterwards). Output recency counted down during
exactly that window, so a long stall still failed. A live loopback child
whose listener accepted the TCP connect is busy, not refusing; refusals
and auth rejections are immediate error/close events, not timeouts.
Drops the now-unused BackendOutputTail.lastActivityAt/backendMakingProgress.
- One policy home: spawnedBackendProbeOptions() in gateway-ws-probe.ts
(base 10s, cap 90s = the port-announcement cold-start budget); both the
primary and pool spawn paths use it. Remote gateways, "Test remote" and
host-backend attach keep the fixed budget.
- Without keepWaitingWhile the probe is again a single one-shot timer (no
1s polling during the base budget). Timeout reasons name what ended the
wait: base budget, backend stopped after the budget, or the cap.
- Tests drive every deadline with fake timers (no wall-clock races) and
cover the production policy: a 30s stall succeeds while alive, a child
that exits mid-wait fails at the next check, a live backend that never
answers fails at the cap.
2026-09-23 18:28:20 -05:00
..
2026-09-21 16:47:50 -05:00
2026-09-23 10:34:54 -07:00
2026-09-21 18:24:39 +00:00
2026-09-21 18:24:39 +00:00
2026-09-23 03:15:26 -07:00
2026-09-18 00:00:23 -07:00
2026-09-23 03:15:26 -07:00
2026-09-20 12:24:46 -07:00
2026-09-20 12:24:46 -07:00
2026-09-17 00:34:50 -05:00
2026-09-23 18:28:20 -05:00
2026-09-23 18:28:20 -05:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-21 14:41:52 +00:00
2026-09-21 14:41:52 +00:00
2026-09-18 09:49:46 -07:00
2026-09-18 09:49:46 -07:00
2026-09-22 13:36:49 +05:30
2026-09-22 13:36:49 +05:30
2026-09-17 00:34:50 -05:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-22 13:36:49 +05:30
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 10:34:54 -07:00
2026-09-23 03:15:26 -07:00
2026-09-21 14:41:52 +00:00
2026-09-23 03:15:26 -07:00
2026-09-21 14:41:52 +00:00
2026-09-18 00:00:23 -07:00
2026-09-21 14:41:52 +00:00
2026-09-21 14:41:52 +00:00
2026-09-23 03:15:26 -07:00
2026-09-21 13:44:49 -05:00
2026-09-21 14:41:52 +00:00
2026-09-21 18:24:39 +00:00
2026-09-20 19:45:30 -07:00
2026-09-20 19:45:30 -07:00
2026-09-23 03:15:26 -07:00
2026-09-20 19:04:11 -07:00
2026-09-21 14:41:52 +00:00
2026-09-23 03:48:15 -07:00
2026-09-23 03:48:15 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-16 17:17:22 -07:00
2026-09-21 14:41:52 +00:00
2026-09-21 00:09:50 -07:00
2026-09-23 03:15:26 -07:00
2026-09-16 17:17:22 -07:00
2026-09-16 23:55:40 -05:00
2026-09-21 14:41:52 +00:00
2026-09-18 20:35:27 +05:30
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-17 14:51:18 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-21 00:09:50 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 18:28:20 -05:00
2026-09-23 18:28:20 -05:00
2026-09-16 17:47:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-16 17:47:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-21 14:41:52 +00:00
2026-09-23 03:15:26 -07:00
2026-09-20 18:47:20 -07:00
2026-09-21 00:53:38 -07:00
2026-09-21 10:07:03 -07:00
2026-09-21 10:07:03 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-21 21:54:36 +00:00
2026-09-21 16:47:50 -05:00
2026-09-23 10:34:54 -07:00
2026-09-21 16:47:50 -05:00
2026-09-21 21:54:36 +00:00
2026-09-21 16:47:50 -05:00
2026-09-21 14:41:52 +00:00
2026-09-20 19:37:57 -07:00
2026-09-21 14:41:52 +00:00
2026-09-21 10:23:04 -04:00
2026-09-21 14:41:52 +00:00
2026-09-21 10:23:04 -04:00
2026-09-23 18:28:20 -05:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-21 16:47:50 -05:00
2026-09-21 21:54:36 +00:00
2026-09-21 16:47:50 -05:00
2026-09-23 03:15:26 -07:00
2026-09-21 18:24:39 +00:00
2026-09-21 14:41:52 +00:00
2026-09-21 14:41:52 +00:00
2026-09-21 14:41:52 +00:00
2026-09-21 19:27:10 +05:30
2026-09-21 19:27:10 +05:30
2026-09-23 03:15:26 -07:00
2026-09-17 00:34:50 -05:00
2026-09-23 03:15:26 -07:00
2026-09-21 14:41:52 +00:00
2026-09-21 14:41:52 +00:00
2026-09-21 14:41:52 +00:00
2026-09-21 14:41:52 +00:00
2026-09-21 14:41:52 +00:00
2026-09-23 03:15:26 -07:00
2026-09-21 14:41:52 +00:00
2026-09-21 14:41:52 +00:00
2026-09-21 14:41:52 +00:00
2026-09-18 14:39:29 +05:30
2026-09-18 16:24:07 +05:30
2026-09-21 14:41:52 +00:00
2026-09-18 16:24:07 +05:30
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-21 14:41:52 +00:00
2026-09-20 16:20:08 -07:00
2026-09-21 18:51:47 +00:00
2026-09-17 09:05:24 -07:00
2026-09-17 09:05:24 -07:00
2026-09-17 09:05:24 -07:00
2026-09-21 00:53:38 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-21 14:41:52 +00:00
2026-09-20 11:27:03 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-21 14:41:52 +00:00
2026-09-23 03:15:26 -07:00
2026-09-21 14:41:52 +00:00
2026-09-23 03:15:26 -07:00
2026-09-21 14:41:52 +00:00
2026-09-21 18:24:39 +00:00
2026-09-21 14:41:52 +00:00
2026-09-23 03:15:26 -07:00
2026-09-20 19:21:46 -07:00
2026-09-23 03:15:26 -07:00
2026-09-16 16:18:17 -05:00
2026-09-23 03:15:26 -07:00
2026-09-18 09:37:29 -07:00
2026-09-18 12:43:36 -07:00
2026-09-21 14:41:52 +00:00
2026-09-21 14:41:52 +00:00
2026-09-21 14:41:52 +00:00
2026-09-23 03:15:26 -07:00
2026-09-21 14:41:52 +00:00
2026-09-21 14:41:52 +00:00
2026-09-23 03:15:26 -07:00
2026-09-17 14:51:18 -04:00
2026-09-23 03:15:26 -07:00
2026-09-21 13:44:40 -05:00
2026-09-21 18:51:47 +00:00
2026-09-23 03:15:26 -07:00
2026-09-21 18:24:39 +00:00
2026-09-20 15:08:40 -07:00
2026-09-20 15:08:40 -07:00
2026-09-20 11:26:29 -07:00
2026-09-20 11:26:29 -07:00
2026-09-20 11:26:29 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-20 11:14:36 -07:00
2026-09-23 10:22:16 +00:00
2026-09-16 17:13:56 -07:00
2026-09-23 03:15:26 -07:00
2026-09-21 14:41:52 +00:00
2026-09-21 14:41:52 +00:00
2026-09-17 14:51:18 -04:00
2026-09-17 14:51:18 -04:00
2026-09-23 10:22:16 +00:00
2026-09-17 14:51:18 -04:00
2026-09-23 03:15:26 -07:00
2026-09-20 19:21:46 -07:00
2026-09-18 12:43:36 -07:00
2026-09-21 14:41:52 +00:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-18 09:18:32 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 10:34:54 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 10:22:16 +00:00
2026-09-17 14:51:18 -04:00
2026-09-17 14:51:18 -04:00
2026-09-17 14:51:18 -04:00
2026-09-23 03:15:26 -07:00