Repository navigation
Commit 8bed306
fix(CDPBrowser): bound poll request timeout, prevent orphaned server process on failed start
- _waitForServer: each /json/version poll is bounded by a 1s (or remaining deadline) axios timeout,
so a port held by something that never responds can not hang the run forever
- _connect: self-managed resolution is attempted exactly once; on failure the error is stored
and rethrown on subsequent connects instead of spawning a second process
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 9dace7c commit 8bed306
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
344 | | - | |
345 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
346 | 354 | | |
347 | 355 | | |
348 | 356 | | |
| |||
0 commit comments