Commit 7e9d773
committed
chore: US-028 bridge fixes for Pi interactive TUI
- Fix process.kill(self, SIGWINCH) to dispatch signal handlers instead of
exiting — Pi TUI sends SIGWINCH to refresh dimensions on startup
- Add _stdinRead to ASYNC_BRIDGE_FNS in V8 sidecar to prevent event loop
deadlock when process.stdin.resume() starts the readLoop
- Rewrite pi-interactive.test.ts: remove all sandboxSkip/probe logic,
use networkAdapter instead of inline fetch patching, ESM mode with
PI_MAIN (avoids undici import issues with cli.js), proper env vars
- Tests still fail due to additional V8 sidecar crash during Pi TUI init
(further sandbox gaps to investigate)1 parent f31ef1e commit 7e9d773
3 files changed
Lines changed: 105 additions & 165 deletions
File tree
- native/v8-runtime/src
- packages
- nodejs/src/bridge
- secure-exec/tests/cli-tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
681 | | - | |
| 681 | + | |
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
| 692 | + | |
| 693 | + | |
692 | 694 | | |
693 | 695 | | |
694 | 696 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
870 | 870 | | |
871 | 871 | | |
872 | 872 | | |
873 | | - | |
| 873 | + | |
874 | 874 | | |
875 | | - | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
876 | 889 | | |
877 | 890 | | |
878 | 891 | | |
| |||
0 commit comments