Commit Graph

3706 Commits

Author SHA1 Message Date
Ayaan Zaidi
0b8857d653 fix(gateway): honor restart continuation retry budget 2026-05-09 20:58:12 +05:30
VACInc
2efb36c623 fix: keep restart continuations from heartbeat racing 2026-05-09 20:58:12 +05:30
VACInc
0c8c620d6f fix: retry restart continuations during shutdown 2026-05-09 20:58:12 +05:30
VACInc
09be7de2b2 fix: preserve restart continuation authority 2026-05-09 20:58:12 +05:30
Shakker
731b1ed27c test: stabilize gateway websocket startup assertion 2026-05-09 15:25:18 +01:00
Peter Steinberger
f90b94d231 test: tighten hook retry-after assertions 2026-05-09 12:18:32 +01:00
Peter Steinberger
02708a6225 test: tighten node invoke policy assertions 2026-05-09 12:16:43 +01:00
VACInc
cfb0c34ff6 feat: add realtime consult overrides 2026-05-09 06:51:20 -04:00
Peter Steinberger
d80f20057e fix: align realtime voice consult tool flow 2026-05-09 11:33:56 +01:00
Shakker
01741f81f8 test: remove stale unused imports 2026-05-09 11:26:43 +01:00
Val Alexander
fa79e9754e fix(gateway): harden macOS update restart lifecycle
Summary:
- Clear stale SIGUSR1 restart state before rejected or externally allowed restart handling can leave an in-flight token stuck.
- Verify the live gateway version after macOS package-update service refreshes and skip redundant restarts when the refreshed LaunchAgent already serves the expected version.
- Set generated LaunchAgents to a 10s throttle plus 20s shutdown window and widen gateway bind retries around supervisor-owned restarts.

Fixes #79577. Refs #78699 and #60885.

Verification:
- pnpm test src/cli/gateway-cli/run-loop.test.ts src/infra/infra-runtime.test.ts
- pnpm test src/cli/update-cli.test.ts src/daemon/launchd.test.ts src/gateway/server/http-listen.test.ts
- pnpm exec oxfmt --check --threads=1 src/cli/gateway-cli/run-loop.ts src/cli/gateway-cli/run-loop.test.ts
- pnpm check:changed
- Crabbox/Blacksmith wrapper smoke passed focused tests plus pnpm check:changed: https://github.com/openclaw/openclaw/actions/runs/25595985603
- PR CI was green before upstream main advanced; the latest rebased heads hit unrelated broad lint failures also reproduced on current main CI (for example https://github.com/openclaw/openclaw/actions/runs/25598671666). No failing lint diagnostics referenced this gateway/update diff.
2026-05-09 05:21:17 -05:00
Peter Steinberger
d479216d92 fix: honor effective model auth health 2026-05-09 05:44:02 -04:00
Ruben Cuevas
105c1ec8c8 fix(gateway): avoid false event-loop health degradation 2026-05-09 02:39:03 -04:00
Peter Steinberger
311e4608d1 feat: unify model catalog registration 2026-05-09 02:34:56 -04:00
Peter Steinberger
a4b17d65a8 refactor: consolidate message delivery API 2026-05-09 07:04:04 +01:00
tmimmanuel
2945948a5e feat(gateway): add SDK task ledger RPCs (#74847)
Adds Gateway task ledger RPCs and SDK methods for listing, fetching, and cancelling durable background tasks. Includes protocol schemas/scopes, generated Swift models, docs, and tests. Public task summary text is sanitized before SDK exposure.
2026-05-09 00:55:06 -05:00
Peter Steinberger
295c30fd61 test: avoid hoisted cron mock import 2026-05-09 01:48:35 -04:00
Peter Steinberger
0889223a07 fix: validate inline images against session agent model (#79416) 2026-05-09 01:18:04 -04:00
Shakker
f8355a82f3 test: tighten live array assertions 2026-05-09 06:07:01 +01:00
Shakker
0924eb0731 test: tighten gateway array assertions 2026-05-09 05:54:12 +01:00
Peter Steinberger
748fe6b212 test: tighten gateway live helper client assertion 2026-05-09 05:47:36 +01:00
Shakker
114aad8281 test: tighten auto reply array assertions 2026-05-09 05:42:39 +01:00
Shakker
3ee3fd72bb test: tighten registry empty array assertions 2026-05-09 05:40:02 +01:00
Peter Steinberger
27ac19836c test: tighten gateway stage error assertions 2026-05-09 05:28:02 +01:00
Josh Avant
3391c5b050 fix(gateway): preserve trusted-proxy Control UI scopes (#79643)
* fix(gateway): preserve trusted proxy control ui scopes

* docs: add trusted proxy control ui changelog
2026-05-08 23:15:19 -05:00
Josh Avant
b30ead9ca8 fix: hide subagent announce handoff prompts (#79618)
* fix: hide subagent announce handoff prompts

* chore: update subagent announce changelog entry
2026-05-08 22:15:01 -05:00
Shakker
73f6344906 test: tighten gateway empty result assertions 2026-05-09 04:07:06 +01:00
Peter Steinberger
00a44b08ed fix(gateway): preserve active agent dedupe retries 2026-05-08 22:52:17 -04:00
Gabriel Piss
972f9db1d2 test(gateway): strengthen dedupe eviction regression tests and add changelog 2026-05-08 22:52:17 -04:00
Gabriel Piss
da03269f6d fix(gateway): align dedupe eviction with entry timestamp 2026-05-08 22:52:17 -04:00
Peter Steinberger
0a173bb362 test: tighten android live string assertion 2026-05-09 03:33:02 +01:00
Peter Steinberger
d2c1f94234 test: tighten remaining object assertions 2026-05-09 03:28:29 +01:00
Peter Steinberger
ed3ce0032c test: dedupe managed image absence assertions 2026-05-09 02:32:42 +01:00
Peter Steinberger
4775b01031 test: dedupe gateway media absence assertions 2026-05-09 02:19:29 +01:00
Solomon Neas
b81414be45 fix: expose safe restart deferral bypass (#78658)
Expose the existing safe-restart skipDeferral escape hatch through gateway RPC and the daemon CLI, document the flag, and add restart/CLI regression coverage.

Also keep CLI failure output off the cold bootstrap graph and align CLI guidance expectations needed by current CI.

Co-authored-by: Solomon Neas <solomonneas@users.noreply.github.com>
2026-05-08 20:42:36 -04:00
Peter Steinberger
917684dee8 test: simplify gateway live profile parsing 2026-05-09 01:14:13 +01:00
Shakker
c0bad2eda5 test: clear node invoke connect timeout 2026-05-09 01:04:49 +01:00
Shakker
a24e76e9c7 test: clear gateway node hello timeout 2026-05-09 01:03:13 +01:00
Vincent Koc
c6d4f1fab8 fix(runtime): preserve reviewed routing and transcript behavior (#79076)
* fix(runtime): preserve reviewed routing and transcript behavior

* docs(changelog): note runtime review fixes
2026-05-09 07:40:43 +08:00
Peter Steinberger
7356517fbf test: dedupe directive tag transcript reads 2026-05-09 00:29:41 +01:00
Peter Steinberger
b6423fbd32 test: dedupe chat inject transcript reads 2026-05-09 00:26:16 +01:00
Peter Steinberger
3dc4029189 test: clean up core test helpers 2026-05-09 00:08:07 +01:00
Shakker
8e3848d215 test: wait for node pairing command visibility 2026-05-09 00:02:11 +01:00
Shakker
6e2b1d6366 test: use openresponses command wait 2026-05-09 00:00:51 +01:00
Peter Steinberger
d415737bd7 test: simplify session thinking label collection 2026-05-08 23:57:51 +01:00
Shakker
4726755f6a test: avoid live text helper temp arrays 2026-05-08 23:30:20 +01:00
Peter Steinberger
00d64a7148 test: simplify session compact line count 2026-05-08 23:20:25 +01:00
Shakker
8cc9618bfa test: isolate session reset cleanup queues 2026-05-08 23:04:01 +01:00
Peter Steinberger
91a6372897 test: simplify openresponses event type collection 2026-05-08 22:58:30 +01:00
Peter Steinberger
3d5002f2db test: simplify role allowlist node counts 2026-05-08 22:50:37 +01:00