sjw1231
4ef46e21b1
feat(subprocess): add SubprocessError and make Win32Error a HarnessError
...
The subprocess Service Definition exports SubprocessError with a closed
SUBPROCESS_* code list, rebases SubprocessExecutableNotFoundError on it
with the same name, and adds subprocessSpawnFailure() so consumers that
report a spawn rejection classify ENOENT and other platform errors with
the original as cause. subprocess-local codes empty argv, Windows Job
runner failures, runner IPC failures, and an unloadable node-pty, and
names its pre-aborted spawn error AbortError so the tool registry
classifies it as cancellation.
Win32Error now extends HarnessError with code WIN32_ERROR, keeping its
name, api, and win32Code fields.
Refs #7869
2026-11-06 16:29:31 +08:00
Tianyi Cui
580bdc7258
refactor: remove redundant unknown casts
2026-09-19 20:13:58 +08:00
07akioni
f8b1309fe5
fix(subprocess): hide Windows shell console windows at creation
2026-09-16 18:56:39 +08:00
imccyu
232ab768a9
perf(runtime): defer optional native dependencies
2026-09-15 11:06:43 +08:00
Tianyi Cui
96e12ddaf4
test(subprocess): cover source-only control launches and refresh generated references
2026-09-12 15:03:01 +08:00
Tianyi Cui
1e5259c463
test(subprocess): type binary reads and native test spies precisely
2026-09-12 15:03:00 +08:00
Tianyi Cui
b9dfb8da1c
test(subprocess): verify control inheritance and document channel ownership
2026-09-12 15:03:00 +08:00
Tianyi Cui
d8efd4f8cd
feat(subprocess): carry a duplex control pipe through managed launches
2026-09-12 15:03:00 +08:00
pku-xht
fe873955b4
Merge master@313ac567 into subprocess native containment
2026-09-02 23:00:02 +08:00
pku-xht
ac1a5891c2
fix(subprocess): close remaining native containment findings
2026-09-02 22:49:46 +08:00
pku-xht
93c11689e7
fix(subprocess): address containment review findings
2026-08-29 15:44:13 +08:00
pku-xht
6e7b152de7
fix(subprocess): preserve native runner contracts
2026-08-29 07:57:59 +08:00
pku-xht
a825b8d042
fix(subprocess): close native containment contract gaps
2026-08-29 05:56:29 +08:00
pku-xht
40279aea17
fix(subprocess): preserve native runner stdio
2026-08-29 00:03:12 +08:00
pku-xht
aca5c0cb2b
fix(subprocess): release Windows runner stdio owners
2026-08-28 21:29:09 +08:00
pku-xht
32b2b24099
fix(subprocess): close runner stdio handles
2026-08-28 20:30:11 +08:00
pku-xht
8ef28f76c0
fix(subprocess): preserve Windows runner spawn semantics
2026-08-28 19:55:16 +08:00
pku-xht
a95f0b368f
fix(subprocess): contain escaped descendants with native owners
2026-08-28 18:15:49 +08:00
Turtle
15f2997bcb
cleanup: omit unneeded invariant companions
2026-08-28 13:12:52 +08:00
pku-xht
8e9bac4a27
fix(subprocess): align native containment contract
2026-08-25 20:06:00 +08:00
pku-xht
f72ce2299a
fix(subprocess): keep native Job ownership in runner
2026-08-21 22:49:56 +08:00
pku-xht
153f1579e1
refactor(subprocess): restore native containment baseline
2026-08-21 22:08:49 +08:00
pku-xht
ac69b1e0c4
fix(subprocess): decouple Windows target stdio
2026-08-21 12:56:34 +08:00
pku-xht
5b215932f8
fix(subprocess): hand off Windows process observation
2026-08-21 11:18:43 +08:00
pku-xht
b03e52fab0
refactor(subprocess): simplify Windows runner settlement
2026-08-21 10:20:24 +08:00
pku-xht
ea7de60840
fix(subprocess): keep Windows Job ownership in parent
2026-08-21 09:51:21 +08:00
pku-xht
eb60d74155
fix(subprocess): harden native range settlement
2026-08-20 22:16:24 +08:00
pku-xht
4c164cd163
fix(subprocess): close native containment CI gaps
2026-08-20 17:29:22 +08:00
pku-xht
884cd6be70
Merge codex/subprocess-win32-process-primitives into codex/subprocess-native-containment
...
# Conflicts:
# packages/subprocess/win32-process/package.json
2026-08-20 16:27:21 +08:00
pku-xht
894f6aeb8a
fix(subprocess): contain escaped descendants with native owners
2026-08-20 16:26:19 +08:00
pku-xht
7ef1c458f0
fix(win32-process): close PR1 validation gaps
2026-08-20 16:03:15 +08:00
pku-xht
19256704c7
test(win32-process): type handle-order assertions
2026-08-20 15:25:02 +08:00
pku-xht
5b47da02ae
refactor(win32-process): restore mechanical extraction
2026-08-20 15:21:01 +08:00
pku-xht
03186fe93f
fix(sandbox): cancel sibling drain after child termination
2026-08-19 08:45:54 +08:00
pku-xht
60587b4901
fix(sandbox): cancel sibling drain on termination failure
2026-08-19 08:06:38 +08:00
pku-xht
5375142827
fix(sandbox): contain drain failure settlement
2026-08-19 06:35:50 +08:00
pku-xht
4f381b83c9
refactor(win32-process): remove redundant suspension
2026-08-19 05:23:43 +08:00
pku-xht
4a722de4fa
fix(win32-process): close PR1 review gaps
2026-08-19 05:03:59 +08:00
pku-xht
668da7f507
refactor(win32-process): share native process primitives
2026-08-19 04:08:46 +08:00