Vincent Koc
e31dfa9897
perf(cli): avoid runtime config loads in gateway discover
2026-04-14 17:47:38 +01:00
Vincent Koc
4c090accd3
perf(cli): avoid eager gateway call config loads
2026-04-14 17:42:16 +01:00
Vincent Koc
f8610da4c5
perf(cli): narrow daemon and gateway cold paths
2026-04-14 17:35:26 +01:00
Vincent Koc
4e46488d1b
perf(cli): lazy-load gateway registration deps
2026-04-14 16:37:48 +01:00
Vincent Koc
0f7d9c9570
fix(runtime): split approval and gateway client seams
2026-04-11 18:36:48 +01:00
Vincent Koc
74e7b8d47b
fix(cycles): bulk extract leaf type surfaces
2026-04-11 13:26:50 +01:00
Peter Steinberger
985ae5edca
refactor: simplify gateway discovery sort keys
2026-04-11 00:37:53 +01:00
neo1027144
2cf9ed782d
fix(daemon): prevent systemd restart storm on config validation failure
...
Exit gateway configuration failures with EX_CONFIG and teach generated systemd units not to restart on that exit status.\n\nCo-authored-by: neo1027144-creator <neo1027144-creator@users.noreply.github.com >
2026-04-10 16:23:46 +01:00
Peter Steinberger
a00b01f5ed
fix: harden complex qa suite scenarios
2026-04-07 20:35:39 +01:00
Peter Steinberger
978a0a720e
refactor: dedupe cli lowercase helpers
2026-04-07 13:01:23 +01:00
Peter Steinberger
b28cc98c9b
test: sync gateway and config expectations
2026-04-07 08:05:32 +01:00
Peter Steinberger
679a393f6d
refactor: dedupe metadata readers
2026-04-07 07:36:11 +01:00
Peter Steinberger
bbe9b7ba15
refactor: dedupe core error formatting call sites
2026-04-07 05:06:54 +01:00
Peter Steinberger
a03e430248
refactor: dedupe core error helpers
2026-04-07 05:06:54 +01:00
Peter Steinberger
7f6277b6e5
refactor: dedupe infra cli wizard error formatting
2026-04-07 02:03:34 +01:00
Peter Steinberger
134ff61754
test: stabilize agent auth and config suites
2026-04-06 19:52:42 +01:00
openperf
c857e93735
fix(gateway): auto-bind to 0.0.0.0 inside container environments
2026-04-06 14:02:20 +01:00
Peter Steinberger
ef923805f5
Revert "refactor(cli): remove custom cli backends"
...
This reverts commit 6243806f7b .
2026-04-06 13:40:42 +01:00
Peter Steinberger
c39f061003
Revert "refactor(cli): remove bundled cli text providers"
...
This reverts commit 05d351c430 .
2026-04-06 13:40:41 +01:00
Peter Steinberger
05d351c430
refactor(cli): remove bundled cli text providers
2026-04-05 18:46:36 +01:00
Peter Steinberger
6243806f7b
refactor(cli): remove custom cli backends
2026-04-05 18:04:48 +01:00
Peter Steinberger
a65ab607c7
fix(gateway): use launchd KeepAlive restarts
2026-04-05 07:43:37 +01:00
Vincent Koc
dd31ee1139
fix(cli): log pending control ui build
2026-04-04 10:47:38 +09:00
Peter Steinberger
6f8f2a012b
test: trim commands and cli partial mocks
2026-04-03 20:34:23 +01:00
Peter Steinberger
0a2a1ff778
fix(ci): make gateway audit path test platform-safe
2026-04-03 12:22:29 +01:00
Peter Steinberger
e2e1197fa9
refactor(gateway): clarify local mode guardrails
2026-04-03 20:02:32 +09:00
Peter Steinberger
2c7eea8f10
fix(gateway): fail closed on missing mode
2026-04-03 19:50:45 +09:00
Peter Steinberger
1c26e806ff
refactor: simplify gateway startup logs
2026-04-03 11:31:34 +01:00
Brad Groux
dda53a2ff8
test: update gateway.mode test to match default-to-local behavior ( #54801 ) ( #60094 )
...
The test previously asserted that a valid snapshot without gateway.mode
blocks startup. After defaulting gateway.mode to 'local' when unset,
the gateway should start successfully in this scenario — update the
test to verify the new expected behavior.
Co-authored-by: Brad Groux <bradgroux@users.noreply.github.com >
2026-04-03 00:59:51 -05:00
Brad Groux
9978d2276b
fix: default gateway.mode to 'local' when unset ( #54801 ) ( #60085 )
...
After v2026.3.24 introduced a gateway.mode guard, startup fails on
Windows (and other platforms) when the config file exists but doesn't
contain an explicit gateway.mode value. This happens after 'openclaw
onboard' writes a minimal config without gateway settings.
Default to 'local' when the mode is unset, restoring pre-3.24 behavior
where the gateway started without requiring an explicit mode.
Fixes #54801
Co-authored-by: Brad Groux <bradgroux@users.noreply.github.com >
2026-04-03 00:23:06 -05:00
Derek YU
5f6e3499f3
fix: detect PID recycling in gateway lock on Windows/macOS + startup progress ( #59843 )
...
Fix stale lock files from crashed gateway processes blocking new invocations on Windows/macOS. Detect PID recycling to avoid false positive lock conflicts, and add startup progress indicator.
Thanks @TonyDerek-dot
2026-04-02 22:07:35 -05:00
Peter Steinberger
3f1d6fe147
test: speed up cli and command suites
2026-03-31 02:25:02 +01:00
yuna78
0033f64e19
gateway: narrow already-running exit code ( #26718 )
...
Co-authored-by: ImLukeF <92253590+ImLukeF@users.noreply.github.com >
2026-03-30 10:59:32 +11:00
Tak Hoffman
f5643544c2
Reduce lint suppressions in core tests and runtime
2026-03-27 02:11:26 -05:00
Peter Steinberger
a4a00aa1da
feat: pluginize cli inference backends
2026-03-26 15:11:15 +00:00
Peter Steinberger
f52752889b
fix: audit clobbered config reads
2026-03-24 17:10:06 +00:00
Vincent Koc
beadd4c553
fix(gateway): harden supervised lock and browser attach readiness
2026-03-23 08:42:00 -07:00
Julia Bush
e94ebfa084
fix: harden gateway SIGTERM shutdown ( #51242 ) (thanks @juliabush)
...
* fix: increase shutdown timeout to avoid SIGTERM hang
* fix(telegram): abort polling fetch on shutdown to prevent SIGTERM hang
* fix(gateway): enforce hard exit on shutdown timeout for SIGTERM
* fix: tighten gateway shutdown watchdog
* fix: harden gateway SIGTERM shutdown (#51242 ) (thanks @juliabush)
---------
Co-authored-by: Ayaan Zaidi <hi@obviy.us >
2026-03-23 15:01:42 +05:30
Peter Steinberger
fe5819887b
refactor(gateway): centralize discovery target handling
2026-03-23 00:38:31 -07:00
Peter Steinberger
deecf68b59
fix(gateway): fail closed on unresolved discovery endpoints
2026-03-23 00:27:37 -07:00
Peter Steinberger
75835fc664
test: restore runtime-aware cli mocks
2026-03-22 18:35:37 -07:00
Peter Steinberger
4ee41cc6f3
refactor(cli): separate json payload output from logging
2026-03-22 23:19:17 +00:00
Peter Steinberger
680eff63fb
fix: land SIGUSR1 orphan recovery regressions ( #47719 ) (thanks @joeykrug)
2026-03-15 22:32:36 -07:00
Peter Steinberger
4e055d8df2
refactor: share gateway timeout parsing
2026-03-14 01:41:16 +00:00
Peter Steinberger
158a3b49a7
test: deduplicate cli option collision fixtures
2026-03-10 20:34:54 +00:00
Charles Dusek
54be30ef89
fix(agents): bound compaction retry wait and drain embedded runs on restart ( #40324 )
...
Merged via squash.
Prepared head SHA: cfd99562d6
Co-authored-by: cgdusek <38732970+cgdusek@users.noreply.github.com >
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com >
Reviewed-by: @jalehman
2026-03-09 08:27:29 -07:00
Peter Steinberger
3caab9260c
test: narrow gateway loop signal harness
2026-03-09 07:42:15 +00:00
Peter Steinberger
cc0f30f5fb
test: fix windows runtime and restart loop harnesses
2026-03-09 07:22:23 +00:00
merlin
f84adcbe88
fix: release gateway lock on restart failure + reply to Codex reviews
...
- Release gateway lock when in-process restart fails, so daemon
restart/stop can still manage the process (Codex P2)
- P1 (env mismatch) already addressed: best-effort by design, documented
in JSDoc
2026-03-09 05:53:52 +00:00
merlin
c79a0dbdb4
fix: address bot review feedback on #35862
...
- Remove dead 'return false' in runServiceStart (Greptile)
- Include stack trace in run-loop crash guard error log (Greptile)
- Only catch startup errors on subsequent restarts, not initial start (Codex P1)
- Add JSDoc note about env var false positive edge case (Codex P1)
2026-03-09 05:53:52 +00:00