Repository navigation
Commit 70f39a3
fix(desktop): a backend killed by a signal is logged as killed, not as a read error
Effect's Node spawner fails `exitCode` when the child exits with a null code
and a signal, and runBackendProcess mapped every such failure to
BackendProcessExitStatusError. A kill -9 was persisted to server-child.log and
the restart event as "Failed to read the exit status", with the signal left
only in the rotating trace. Recognize the signal failure and report it as an
exit ("killed by SIGKILL"); genuine read failures keep the existing error.
Fixes #15359
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent 243d1e7 commit 70f39a3
2 files changed
Lines changed: 60 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
434 | 461 | | |
435 | 462 | | |
436 | 463 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
216 | 226 | | |
217 | 227 | | |
218 | 228 | | |
| |||
596 | 606 | | |
597 | 607 | | |
598 | 608 | | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
610 | 631 | | |
611 | 632 | | |
612 | 633 | | |
| |||
620 | 641 | | |
621 | 642 | | |
622 | 643 | | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
| 644 | + | |
628 | 645 | | |
629 | 646 | | |
630 | 647 | | |
| |||
0 commit comments