Haitao Pan
aa75364001
fix(gateway): harden OpenClaw task recovery tests
2026-06-26 18:30:34 +08:00
Haitao Pan
3676759472
fix(gateway): day-1 stability — stop infinite "running" and un-stoppable tasks
...
Symptom: a gateway turn shows "任务运行中..." forever and 停止 has no effect,
even though the OpenClaw gateway has already finished (ACP_HTTP_CONNECTION_CLOSED).
- T3: add a hard deadline to the running-handle poll branch so the client no
longer polls forever when tasks.get keeps returning "running". Budget is
derived from taskLoadClass (10/30/60min, aligned with the bridge) + grace;
on timeout the turn lands in a recoverable `interrupted` state
(OPENCLAW_RUN_POLL_TIMEOUT) prompting the user to resend.
- T4: make 停止 locally authoritative — capture the association, mark the turn
aborted immediately (clears pending, exits the poll loop), then fire
tasks.cancel best-effort so a hung/failed cancel RPC can't block termination.
- T6: applyGatewayChatFailureInternal now authoritatively clears the pending
flag (both raw + normalized key). Previously runOpenClawGatewayQueuedTurnInternal's
finally never cleared it, leaving "error shown but still running".
Full cross-repo analysis + remaining TODO in docs/cases/06.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 10:48:45 +08:00
Haitao Pan
65fabfe888
chore: update macOS deployment target to 14.0 and commit pending changes
2026-06-25 09:52:33 +08:00
Haitao Pan
59f4baa313
fix: preserve primary bridge auth token
2026-06-18 10:01:19 +08:00
Haitao Pan
de4b71c8a0
fix(settings): update account panel and assistant connection state
2026-06-17 21:01:56 +08:00
Haitao Pan
cb14c83af0
feat: add explicit gateway task case hints for openclaw-gateway-e2e-regression
2026-06-17 16:00:54 +08:00
Haitao Pan
d546690677
fix: prioritize managed bridge sync state
2026-06-16 06:20:13 +08:00
Haitao Pan
a4b039e8ca
feat(workspace): run remote setup script
2026-06-14 14:28:20 +08:00
Haitao Pan
6f56059f5a
fix(desktop): bound WebRTC offer wait
2026-06-13 07:10:28 +08:00
Haitao Pan
531cc6beb1
chore(desktop): remove advanced options panel
2026-06-13 07:09:06 +08:00
Haitao Pan
059156c90c
feat(assistant): include attachment source paths in gateway prompts
2026-06-12 16:58:24 +08:00
Haitao Pan
d343f34887
chore: remove stale Flutter code
2026-06-12 14:52:23 +08:00
Haitao Pan
1744e8bb4d
fix(app): bound OpenClaw artifact sync polling
2026-06-12 14:08:23 +08:00
Haitao Pan
e16ddc544d
fix: split desktop mouse move data channel
2026-06-09 15:55:02 +08:00
Haitao Pan
3eb7e0e338
fix: use renderer first-frame signal for desktop video
2026-06-09 15:25:53 +08:00
Haitao Pan
4ef700e636
fix: clear desktop first-frame overlay after decode
2026-06-09 15:20:45 +08:00
Haitao Pan
31fc4d9b8e
feat: align workspace ready actions and naming
2026-06-09 10:58:15 +08:00
Haitao Pan
ad35cadc27
fix: smooth remote desktop input over webrtc
2026-06-09 10:47:05 +08:00
Haitao Pan
1a9d4eb22b
fix: isolate remote desktop webrtc sessions
2026-06-08 21:09:11 +08:00
Haitao Pan
31c8e32abc
Add default bridge save action
2026-06-08 18:35:20 +08:00
Haitao Pan
74c17a3f0d
Improve workspace status summary wording
2026-06-08 18:13:52 +08:00
Haitao Pan
e5e4d9671b
Relax workspace prechecks and add post-deploy validation
2026-06-08 17:43:54 +08:00
Haitao Pan
ddeddba50c
Clarify bridge DNS precheck message
2026-06-08 16:53:50 +08:00
Haitao Pan
c8e9dd6509
Make workspace advanced configs extensible
2026-06-08 16:35:15 +08:00
Haitao Pan
55c6a2c569
Relax workspace OS checks and add YAML import/export
2026-06-08 16:14:08 +08:00
Haitao Pan
646bef4110
Harden workspace prechecks
2026-06-08 15:52:26 +08:00
Haitao Pan
15d4a68835
Fix gateway dispatch test pipeline
2026-06-08 15:52:26 +08:00
Haitao Pan
e6ff48adb2
Add AI workspace management provisioning flow
2026-06-08 15:52:26 +08:00
Haitao Pan
3c2394e848
Stabilize OpenClaw artifact sync
2026-06-08 10:49:09 +08:00
Haitao Pan
4854eb0067
chore: log remote desktop WebRTC stats
2026-06-07 22:25:42 +08:00
Haitao Pan
590727d22d
fix: show remote desktop first-frame state
2026-06-07 21:57:53 +08:00
Haitao Pan
82ae533db0
Sync artifact sidebar with selected task
2026-06-07 12:13:58 +08:00
Haitao Pan
1d2e01f269
Improve assistant task UX
2026-06-07 12:03:08 +08:00
Haitao Pan
4f88421c48
fix: keep syncing partial OpenClaw artifacts
2026-06-07 07:38:04 +08:00
Haitao Pan
a4561b672d
fix: accept review bridge token from account sync
2026-06-06 22:08:06 +08:00
Haitao Pan
2328853061
fix: keep bridge token usable after sync block
2026-06-06 19:40:44 +08:00
Haitao Pan
bf7ea78cc9
fix: unify bridge auth token for desktop connect
2026-06-06 19:24:48 +08:00
Haitao Pan
e7314d48b6
fix: require OpenClaw artifact export before completion
2026-06-06 18:23:05 +08:00
Haitao Pan
38254caa4d
fix: keep OpenClaw artifact sync polling
2026-06-06 18:02:13 +08:00
Haitao Pan
ebe505b59c
fix: trim OpenClaw task prompt context
2026-06-06 17:40:43 +08:00
Haitao Pan
62b461ef0f
fix: backfill OpenClaw artifacts on sidebar refresh
2026-06-06 14:50:16 +08:00
Haitao Pan
5396a682d1
fix: align OpenClaw task key flow
2026-06-06 13:56:03 +08:00
Haitao Pan
941edee480
Merge release/v1.1.4 into main
2026-06-06 11:51:09 +08:00
Haitao Pan
cc7bdca02a
refactor: align OpenClaw session key state flow
2026-06-06 11:51:01 +08:00
Haitao Pan
2dab363b68
Merge OpenClaw thin adapter refactor
2026-06-06 07:56:47 +08:00
Haitao Pan
4b6ec9146e
Refactor OpenClaw task integration as thin adapter
2026-06-06 07:56:32 +08:00
Haitao Pan
8f8898bc6a
refactor: explicitly pass openclawSessionKey in task start
2026-06-06 07:24:59 +08:00
Haitao Pan
1edf6b7b3f
refactor/app-thread-key
2026-06-06 06:51:30 +08:00
Haitao Pan
94cf8bb39d
feat: pass OpenClaw artifact dir whitelist
2026-06-05 21:25:29 +08:00
Haitao Pan
3a548717ba
fix(chat): drop root-level expectedArtifactDirs to satisfy chat.send schema
...
- Remove the unexpected property at the root of gateway task metadata.
Keep the value nested in xworkmateTaskArtifactContract where the
OpenClaw chat.send schema allows it (-32002: invalid chat.send params).
- Drop dead local vars and the unused asInt helper in OpenClaw task
association parsing.
- Remove the obsolete 'sendChatMessage restarts before handling
OpenClaw artifact guard results' test superseded by the new terminal
artifact failure test.
2026-06-05 19:12:31 +08:00