Commit Graph

182 Commits (df0e136bc7dd752bf564aa22a0fe84f5dff5a5da)

Author SHA1 Message Date
Peter Steinberger 6b6ddcd2a6
test: speed up core runtime suites 8 months ago
Shakker 81e65e119f test: mock supervisor timeout flows 8 months ago
Shakker 5fb19f296a test: complete exec timeout child lifecycle 8 months ago
Shakker 82681ba215 test: stabilize exec timeout assertions on windows 8 months ago
Shakker 56c9e2493b test: harden windows timeout-sensitive suites 8 months ago
Shakker 9590e2ccae test: stabilize windows task registry and exec timeouts 8 months ago
Gustavo Madeira Santana 6a37ecad82 Supervisor: unblock waits after forced child kill 8 months ago
George Zhang e133924047
[codex] harden clawhub plugin publishing and install (#56870)
* fix: harden clawhub plugin publishing and install

* fix(process): preserve windows shim exit success
8 months ago
Vignesh Natarajan 4d54376483 Tests: stabilize shard-2 queue and channel state 8 months ago
Vignesh Natarajan 4b137da582
Test: harden command queue test isolation (CI chore) 8 months ago
Ayaan Zaidi cfba0ab68f
fix(process): wait for windows close state settlement 8 months ago
Ayaan Zaidi c3c1f9df54
fix(process): wait for windows exit code settlement 8 months ago
Ayaan Zaidi e0ba57e9c7
fix: preserve windows child exit codes 8 months ago
Peter Steinberger 23f0486810 fix: stabilize plugin startup boundaries 8 months ago
Tak Hoffman 262e5c57c8
fix(ci): stabilize module-bound exact regressions (#56085)
* Adjust compaction identifier test for summary args

* Harden exec completion after child exit

* Handle SDK compaction and skill shape drift

* Stabilize Synology Chat module-bound tests

* Restore skill source compatibility shims

* Restore self-hosted provider discovery mocks
8 months ago
Peter Steinberger 351a931a62 fix(ci): restore runtime-api guardrails 8 months ago
Joseph Krug d81593c6e2
fix: trigger compaction on LLM timeout with high context usage (#46417)
Merged via squash.

Prepared head SHA: 619bc4c1fa1db3829ff3aa78ffcab8e4201379b5
Co-authored-by: joeykrug <5925937+joeykrug@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
8 months ago
Vincent Koc a9da52da50 refactor(core): make event and queue state lazy 8 months ago
Peter Steinberger 2383107711 fix: unblock supervisor and memory gate failures 8 months ago
Peter Steinberger e7817ad12a test: continue vitest threads migration 8 months ago
Peter Steinberger 4e531d382b fix(ci): restore cli runtime mocks and timeout exits 8 months ago
Peter Steinberger 9428b38452 refactor: consolidate core runtime state helpers 8 months ago
Peter Steinberger 5fb7a1363f fix: stabilize full gate 8 months ago
MoerAI 9da06d918f fix(windows): add windowsHide to detached spawn calls to suppress console windows (#44693)
The restart helper and taskkill spawn calls were missing windowsHide: true,
causing visible command prompt windows to flash on screen during gateway
restart and process cleanup on Windows.
8 months ago
Vincent Koc 4ca84acf24
fix(runtime): duplicate messages, share singleton state across bundled chunks (#43683)
* Tests: add fresh module import helper

* Process: share command queue runtime state

* Agents: share embedded run runtime state

* Reply: share followup queue runtime state

* Reply: share followup drain callback state

* Reply: share queued message dedupe state

* Reply: share inbound dedupe state

* Tests: cover shared command queue runtime state

* Tests: cover shared embedded run runtime state

* Tests: cover shared followup queue runtime state

* Tests: cover shared inbound dedupe state

* Tests: cover shared Slack thread participation state

* Slack: share sent thread participation state

* Tests: document fresh import helper

* Telegram: share draft stream runtime state

* Tests: cover shared Telegram draft stream state

* Telegram: share sent message cache state

* Tests: cover shared Telegram sent message cache

* Telegram: share thread binding runtime state

* Tests: cover shared Telegram thread binding state

* Tests: avoid duplicate shared queue reset

* refactor(runtime): centralize global singleton access

* refactor(runtime): preserve undefined global singleton values

* test(runtime): cover undefined global singleton values

---------

Co-authored-by: Nimrod Gutman <nimrod.gutman@gmail.com>
8 months ago
Peter Steinberger 344b2286aa refactor: share windows command shim resolution 9 months ago
Vincent Koc b48291e01e
Exec: mark child command env with OPENCLAW_CLI (#41411) 9 months ago
yuweuii 6c9b49a10b
fix(sessions): clear stale contextTokens on model switch (#38044)
Merged via squash.

Prepared head SHA: bac2df4b7f920ce271f0a15f1db9ed99b35300f3
Co-authored-by: yuweuii <82372187+yuweuii@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
9 months ago
Peter Steinberger e20f445099 fix(supervisor): keep service-managed children attached (#38463, thanks @spirittechie)
Co-authored-by: Jesse Paul <drzin69@gmail.com>
9 months ago
0xlin2023 d000316d19 fix: Windows: openclaw plugins install fails with spawn EINVAL
Fixes #7631
9 months ago
Peter Steinberger b1c30f0ba9 refactor: dedupe cli config cron and install flows 9 months ago
Peter Steinberger 6add2bcc15 test(process): replace no-output timer subprocess with spawn mock 9 months ago
Peter Steinberger 6a5041f3ff test(exec): deflake no-output timeout heartbeat scenario 9 months ago
Tak Hoffman 2a11a20fe2
test(windows): stabilize exec wrapper mock assertions (#31771) 9 months ago
Peter Steinberger 234e07fcc0 refactor(process): extract command env resolution helper 9 months ago
Peter Steinberger 09748ab109 test(perf): speed up supervisor and exec process tests 9 months ago
icesword0760 6e008e93be
Process: fix Windows .cmd spawn EINVAL (openclaw#29759) thanks @icesword0760
Verified:
- pnpm vitest run src/process/exec.test.ts src/process/exec.windows.test.ts

Co-authored-by: icesword0760 <123886211+icesword0760@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
9 months ago
Peter Steinberger a9d572394e test(perf): tighten exec timeout slack in non-flaky cases 9 months ago
Peter Steinberger f7b8e4be27 test(fix): stabilize exec no-output heartbeat timing case 9 months ago
Peter Steinberger d9ff3bf1af test(perf): tighten process exec and supervisor timing fixtures 9 months ago
Peter Steinberger 79b649a25e test: fix signal-listener typing in exec bridge test 9 months ago
Peter Steinberger bff785aecc test(perf): tighten process test timeouts and fs setup 9 months ago
Peter Steinberger 4a8ada662e test(perf): cache media fixtures and trim timeout waits 9 months ago
Peter Steinberger 8a1465c314 test(perf): trim timer-heavy suites and guardrail scanning 9 months ago
Peter Steinberger 04030ddf68 test(runtime): trim timer-heavy regression suites 9 months ago
Peter Steinberger 656121a12b test: micro-optimize hot unit test files 9 months ago
Peter Steinberger a1a8ec6870 fix(windows): land #31147 plugin install spawn EINVAL (@codertony)
Landed from contributor PR #31147 by @codertony.

Co-authored-by: codertony <codertony@users.noreply.github.com>
9 months ago
Peter Steinberger c89836a251 test: harden flaky timeout and resolver specs 9 months ago
Peter Steinberger 262bca9bdd fix: restore dm command and self-chat auth behavior 9 months ago
joshavant e8637c79b3 fix(secrets): harden sops migration sops rule matching 9 months ago