Peter Steinberger
3b5a276a48
test: speed up supervisor test timing
2026-02-23 20:15:56 +00:00
Peter Steinberger
fe62711342
test(gate): stabilize env- and timing-sensitive process/web-search checks
2026-02-23 19:19:58 +00:00
Peter Steinberger
34ea33f057
refactor: dedupe core config and runtime helpers
2026-02-22 17:11:54 +00:00
Peter Steinberger
d01cc69ef0
test: tighten process timeout fixtures
2026-02-22 17:06:35 +00:00
Peter Steinberger
d116bcfb14
refactor(runtime): consolidate followup, gateway, and provider dedupe paths
2026-02-22 14:08:51 +00:00
Peter Steinberger
00eb2541dc
test: shorten idle child timers in timeout assertions
2026-02-22 12:37:49 +00:00
Peter Steinberger
d6d73d0ed9
test(core): trim redundant test resets and use mockClear
2026-02-22 08:12:55 +00:00
Peter Steinberger
1f0695ba47
test(core): use lightweight clears in update, child adapter, and copilot token setup
2026-02-22 08:01:16 +00:00
Peter Steinberger
4ddaafee68
test(plugins): use lightweight clears in wired hooks setup
2026-02-22 08:01:16 +00:00
Peter Steinberger
fa89ae8e9e
fix: stabilize swift protocol generation and flaky tests
2026-02-21 16:53:46 +01:00
Peter Steinberger
a1cb700a05
test: dedupe and optimize test suites
2026-02-19 15:19:38 +00:00
Peter Steinberger
7ebd213acf
perf(test): dedupe telegram thread cases and tighten PTY timer
2026-02-18 22:29:31 +00:00
Peter Steinberger
308e09c876
perf(test): shorten process timeout fixtures
2026-02-18 04:27:01 +00:00
Peter Steinberger
b8b43175c5
style: align formatting with oxfmt 0.33
2026-02-18 01:34:35 +00:00
Peter Steinberger
31f9be126c
style: run oxfmt and fix gate failures
2026-02-18 01:29:02 +00:00
cpojer
2a4ca7671e
chore: Fix types in tests 35/N.
2026-02-17 15:50:07 +09:00
cpojer
d0cb8c19b2
chore: wtf.
2026-02-17 13:36:48 +09:00
Sebastian
ed11e93cf2
chore(format)
2026-02-16 23:20:16 -05:00
cpojer
01ea808876
chore: Format files.
2026-02-17 10:57:31 +09:00
Sebastian
fb996031bc
fix(process): harden graceful kill-tree cancellation semantics
2026-02-16 20:37:08 -05:00
cpojer
90ef2d6bdf
chore: Update formatting.
2026-02-17 09:18:40 +09:00
artale
a1a1f56841
fix(process): disable detached spawn on Windows to fix empty exec output ( #18035 )
...
The supervisor's child adapter always spawned with `detached: true`,
which creates a new process group. On Windows Scheduled Tasks (headless,
no console), this prevents stdout/stderr pipes from properly connecting,
causing all exec tool output to silently disappear.
The old exec path (pre-supervisor refactor) never used `detached: true`.
The regression was introduced in cd44a0d01 (refactor process spawning).
Changes:
- child.ts: set `detached: false` on Windows, keep `detached: true` on
POSIX (where it's needed to survive parent exit). Skip the no-detach
fallback on Windows since it's already the default.
- child.test.ts: platform-aware assertions for detached behavior.
Fixes #18035
Fixes #17806
2026-02-16 23:59:53 +01:00
Peter Steinberger
a177f7b9fe
refactor(tests): dedupe slack telegram and web monitor setup
2026-02-16 17:06:40 +00:00
Peter Steinberger
9684ae4c6d
test: tighten process timeout thresholds with stabilized emit guard
2026-02-16 05:09:47 +00:00
Peter Steinberger
0b780789bc
test: further reduce process timeout waits in fast suites
2026-02-16 04:48:55 +00:00
Peter Steinberger
795874711b
test: shorten process timeout waits in exec and supervisor suites
2026-02-16 04:45:44 +00:00
Peter Steinberger
17d8e2a1c8
test: reduce supervisor no-output wait threshold
2026-02-16 04:43:33 +00:00
Peter Steinberger
bc65e787c8
test: trim process no-output timeout waits
2026-02-16 04:17:38 +00:00
Peter Steinberger
a7385aa8ac
test: reduce process timeout test latency
2026-02-16 04:08:50 +00:00
Peter Steinberger
31939397a9
test: optimize hot-path test runtime
2026-02-16 03:49:05 +00:00
Peter Steinberger
38ac4b8083
test(pty): stabilize non-windows signal assertion
2026-02-16 03:06:03 +00:00
Peter Steinberger
273d70741f
refactor(supervisor): share env normalization
2026-02-16 01:41:35 +00:00
Onur
cd44a0d01e
fix: codex and similar processes keep dying on pty, solved by refactoring process spawning ( #14257 )
...
* exec: clean up PTY resources on timeout and exit
* cli: harden resume cleanup and watchdog stalled runs
* cli: productionize PTY and resume reliability paths
* docs: add PTY process supervision architecture plan
* docs: rewrite PTY supervision plan as pre-rewrite baseline
* docs: switch PTY supervision plan to one-go execution
* docs: add one-line root cause to PTY supervision plan
* docs: add OS contracts and test matrix to PTY supervision plan
* docs: define process-supervisor package placement and scope
* docs: tie supervisor plan to existing CI lanes
* docs: place PTY supervisor plan under src/process
* refactor(process): route exec and cli runs through supervisor
* docs(process): refresh PTY supervision plan
* wip
* fix(process): harden supervisor timeout and PTY termination
* fix(process): harden supervisor adapters env and wait handling
* ci: avoid failing formal conformance on comment permissions
* test(ui): fix cron request mock argument typing
* fix(ui): remove leftover conflict marker
* fix: supervise PTY processes (#14257 ) (openclaw#14257) (thanks @onutc)
2026-02-16 02:32:05 +01:00