Commit Graph

35192 Commits

Author SHA1 Message Date
Vincent Koc 2ff1dfdebe refactor(agents): remove unused runtime transcript rotation wrapper 2026-06-19 00:00:48 +08:00
Vincent Koc 81eaa88ce5 refactor(agents): remove stale live model switch map 2026-06-18 23:53:18 +08:00
Vincent Koc ba779d8367 refactor(agents): remove unused thinking recovery sanitizer 2026-06-18 23:45:47 +08:00
Vincent Koc ed389a87e9 refactor(agents): remove unused runner utility wrappers 2026-06-18 23:39:15 +08:00
clawsweeper[bot] 73aab30989 fix(cron): retry isolated setup timeouts (#94588)
Summary:
- Merged fix(cron): retry isolated setup timeouts after ClawSweeper review.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(cron): retry isolated setup timeouts

Validation:
- ClawSweeper review passed for head 6b0ee52fcb.
- Required merge gates passed before the squash merge.

Prepared head SHA: 6b0ee52fcb
Review: https://github.com/openclaw/openclaw/pull/94588#issuecomment-4743572807

Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: Aaron Eden <21063939+aaroneden@users.noreply.github.com>
Approved-by: takhoffman
2026-06-18 15:34:30 +00:00
Vincent Koc 967fb8d917 refactor(agents): remove unused transcript state helpers 2026-06-18 23:29:52 +08:00
Vincent Koc 092e9f69ab refactor(agents): remove unused tool result size helper 2026-06-18 23:16:53 +08:00
Vincent Koc c8fc2fedee refactor(status): remove unused gateway probe exports 2026-06-18 23:07:58 +08:00
Vincent Koc 61210b015f refactor(models): remove model row registry alias 2026-06-18 22:54:51 +08:00
Vincent Koc ab25e340f9 refactor(commands): remove unused sandbox counters 2026-06-18 22:47:35 +08:00
Vincent Koc af3acf0626 fix(gateway): honor WSL env in status hints 2026-06-18 16:43:58 +02:00
Vincent Koc 64db900bc4 test(gateway): assert codex approval resolver 2026-06-18 16:36:13 +02:00
Vincent Koc 8d808de80a test(gateway): accept app-server approval proof 2026-06-18 16:36:13 +02:00
Vincent Koc 49d03d24a5 test(gateway): align approval and update proof 2026-06-18 16:36:13 +02:00
Vincent Koc 890055d421 fix(gateway): keep approval waits visible across backend calls 2026-06-18 16:36:13 +02:00
Vincent Koc eb07ba5117 fix(doctor): honor WSL env overrides in hints 2026-06-18 16:35:55 +02:00
Shakker 54a2af32c9 test: route live cache trace env 2026-06-18 15:19:21 +01:00
Shakker 49f10a140b fix: isolate model catalog state env 2026-06-18 15:18:11 +01:00
Shakker ad550ae3dc test: route runtime policy env gates 2026-06-18 15:14:46 +01:00
Shakker 7bdea54a82 fix: scope cli runner env helpers 2026-06-18 15:14:09 +01:00
Shakker 6ed2189a49 test: route bundle mcp env setup 2026-06-18 15:10:16 +01:00
Shakker 9cfc37b997 fix: scope bootstrap home override 2026-06-18 15:08:30 +01:00
Shakker 55750f7c6d test: route security floor env setup 2026-06-18 15:06:13 +01:00
Shakker c0539a4060 fix: simplify approval env restore 2026-06-18 15:03:50 +01:00
Shakker e40396bfc1 test: route gateway approval env setup 2026-06-18 15:03:07 +01:00
Vincent Koc 0e61c1112f refactor(agents): remove unused cache store wrapper 2026-06-18 22:02:32 +08:00
Shakker 32906798d2 fix: reuse oauth env wrapper 2026-06-18 14:59:25 +01:00
Josh Lehman fd8e3bf652 refactor: add restart recovery lifecycle seam (#93735) 2026-06-18 06:57:24 -07:00
Shakker 459ba6e07a test: route codex refresh env setup 2026-06-18 14:57:06 +01:00
Peter Steinberger 9a571399bb fix(agents): preserve active compaction retries (#94421)
Merged via squash.

Prepared head SHA: 70a27bda48
Co-authored-by: steipete <steipete+steipete@users.noreply.github.com>
Reviewed-by: @steipete
2026-06-18 15:30:48 +02:00
huangjianxiong 4ec9d4a2b5 fix(infra): probe 127.0.0.1 in ensurePortAvailable to detect IPv4-only occupants (#94394)
Merged via squash.

Prepared head SHA: 65bbefde8c
Co-authored-by: Pandah97 <80405497+Pandah97@users.noreply.github.com>
Co-authored-by: steipete <steipete+steipete@users.noreply.github.com>
Reviewed-by: @steipete
2026-06-18 15:29:58 +02:00
Vincent Koc aad0559de0 refactor(test): dedupe bundled plugin record fixtures 2026-06-18 21:10:40 +08:00
Peter Steinberger 712e45daf1 fix(ci): stabilize update run gates (#94580)
Merged via squash.

Prepared head SHA: 93e784351b
Co-authored-by: steipete <steipete+steipete@users.noreply.github.com>
Reviewed-by: @steipete
2026-06-18 15:07:21 +02:00
Vincent Koc 8f295f183d refactor(test): dedupe zip central directory fixture 2026-06-18 20:54:36 +08:00
Vincent Koc af21bd7130 refactor(gateway): dedupe gateway client test startup 2026-06-18 20:27:14 +08:00
Vincent Koc 9592a83a29 refactor(config): dedupe plugin metadata test snapshots 2026-06-18 20:14:27 +08:00
Vincent Koc c88d5f2611 refactor(agents): reuse embedded runner e2e fixtures 2026-06-18 19:57:01 +08:00
Vincent Koc 13d474134f refactor(plugins): dedupe install test fixtures 2026-06-18 19:44:18 +08:00
Vincent Koc 9caf4e1ae9 refactor(cron): dedupe cron test helpers 2026-06-18 19:27:44 +08:00
Vincent Koc 45366dec2e refactor(codex): remove unused websocket debug getter 2026-06-18 19:05:46 +08:00
Vincent Koc c1a414bf28 fix(update): preserve RPC pre-update config 2026-06-18 18:46:18 +08:00
Vincent Koc 4e476d333e fix(update): retry gateway plugin convergence 2026-06-18 18:46:18 +08:00
masatohoshino 085ff95fcf fix(update): carry effective git channel into post-core finalize
Address ClawSweeper P1 (Carry the effective git channel into finalize):
an unconfigured git/source update runs the core update on the git/dev channel
(runGatewayUpdate: opts.channel ?? "dev"), but the finalizer received no channel
and fell back to the stable package channel, so plugin convergence could resolve
official plugins on the wrong channel.

Mirror the CLI post-core resume's effective/requested channel split: the RPC
finalize path now passes the effective channel (configChannel ?? DEFAULT_GIT_CHANNEL)
to update finalize via OPENCLAW_UPDATE_EFFECTIVE_CHANNEL (convergence-only), never
as --channel. update finalize uses it as a convergence fallback but never persists
update.channel unless the user actually requested one.
2026-06-18 18:46:18 +08:00
masatohoshino 07c29c20d6 fix(update): forward finalize --channel only when configured
Codex follow-up: defaulting the channel to dev and passing --channel made
update finalize persist update.channel into openclaw.json (persistRequestedUpdateChannel
treats any --channel as an explicit request). Only forward --channel when the
caller has a configured channel so the finalizer never writes a channel the user
did not request; when omitted it converges on the stored/default channel and the
reconcile still resolves a host-compatible version. Keeps the per-step vs
whole-process timeout decoupling.
2026-06-18 18:46:18 +08:00
masatohoshino 6214762461 fix(update): match git channel + decouple finalize process timeout
Address codex PR-review findings:
- Default the post-core finalize channel to the git/dev channel (matching
  runGatewayUpdate's git default) instead of letting update finalize fall back to
  the stable package channel, so official plugins converge on the same channel as
  the core update for default source updates.
- Decouple the finalizer's whole-process spawn timeout from the per-step
  --timeout so a valid multi-step finalize is not killed prematurely and falsely
  reported as post-core-plugin-finalize-failed.
2026-06-18 18:46:18 +08:00
masatohoshino 1b251a6af1 fix(update): harden post-core finalize (service-env strip, no-op skip)
- Strip gateway service identity (OPENCLAW_SERVICE_MARKER/KIND/PID) from the
  finalizer child so it is not mistaken for the managed service, matching the
  CLI post-core spawn.
- Skip finalize for no-op git updates (unchanged SHA and version), mirroring the
  CLI resume gate, to avoid an unnecessary doctor/convergence run.
2026-06-18 18:46:18 +08:00
masatohoshino 90d385cb93 fix(update): resume official plugin convergence after gateway git update
The gateway update.run RPC updated git/source installs via runGatewayUpdate
but, unlike the openclaw update CLI, never resumed the post-core plugin
convergence that runGatewayUpdate's doctor pass defers. As a result a
git/source core update would restart on the new core with official managed
plugins still pinned to versions built against removed core APIs.

Spawn the rebuilt binary's update finalize entrypoint after a successful
git update so official plugins reconcile to a host-compatible version, and
block the restart if convergence fails (mirroring the CLI).
2026-06-18 18:46:18 +08:00
Vincent Koc 2ac2b021cf fix(gateway): bound config.get tool results 2026-06-18 18:46:12 +08:00
Vincent Koc 0d9bb2fe47 fix(agents): sanitize oversized middleware inputs 2026-06-18 18:46:12 +08:00
Vincent Koc d694047cb5 refactor(core): remove unused internal exports 2026-06-18 18:40:12 +08:00