Commit Graph

994 Commits

Author SHA1 Message Date
Haitao Pan
8ba7804fa2 docs(cases/06): correct root cause — plugin not loaded, not protocol drift
Live verification disproved the earlier "xworkmate.* protocol namespace drift"
conclusion. The xworkmate.* gateway methods are REAL — registered at runtime by
the openclaw-multi-session-plugins plugin (index.ts registerGatewayMethod). The
actual failure: the running OpenClaw gateway did not load that plugin because its
source path was the ephemeral /private/tmp/openclaw-multi-session-plugins/... and
the gateway booted (09:21) ~9h before those files were populated (18:40), so it
started with 5 plugins (no multi-session) and every xworkmate.* returned
"unknown method". Restarting the gateway loads 6 plugins and the methods work
(errors shift to plugin-level param validation).

Changes:
- Add a corrected conclusion banner up top distinguishing the primary root cause
  (plugin load) from the T1-T9 robustness hardening.
- Replace the wrong "protocol drift / native alignment" section with the
  plugin-not-loaded root cause + evidence + the abandoned-branch note
  (fix/gateway-task-protocol-alignment must NOT be merged).
- Fix failure-row 10, T13 (runtime-state check now covers gateway plugin load),
  and the landing-order to put the plugin fix as step 0.
- Cross-reference openclaw-gateway-e2e-regression/ROOT_CAUSE_ANALYSIS.md (which
  was already correct about the 4-layer chain).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 23:08:01 +08:00
Haitao Pan
efb7f6b860 docs(cases/06): record definitive root cause — xworkmate.* gateway protocol drift
Adds the 2026-06-26 decisive finding: the bridge forwards `xworkmate.*` method
names the OpenClaw 2026.6.2 gateway does not implement (it uses native
tasks.get/list/cancel and artifacts.list/get/download). Documents the corrected
end-to-end turn timeline with the three break points (tasks.get unknown method;
{taskId}-only param shape + taskId!=runId; artifacts.* drift blocking .md delivery),
the evidence (gateway source + schema + CHANGELOG), the implemented task-lifecycle
fix, and the precisely-specified remaining work (artifact-method alignment + test
fixture migration). Corrects the earlier (wrong) "push/pull mismatch" conclusion.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 20:38:33 +08:00
Haitao Pan
345930f284 test: stabilize assistant gateway recovery cases 2026-06-26 20:01:31 +08:00
Haitao Pan
04df0f5c0e test: align gateway recovery expectations 2026-06-26 19:52:27 +08:00
Haitao Pan
afdc50cfd0 test: keep layered flutter tests aligned with repo 2026-06-26 19:39:14 +08:00
Haitao Pan
4bd7a677c5 ci: refresh app workflows for node 24 2026-06-26 19:27:30 +08:00
Haitao Pan
a09a85c507 docs(cases): record local bridge runtime validation 2026-06-26 19:19:40 +08:00
Haitao Pan
9b437a99b2 docs(cases/06): mark T7/T8/T9 done with impl locations & design trade-offs
Records the durable per-session run-registry implementation (bridge branch
fix/gateway-durable-run-registry): T7 gateway-unconfirmed fallback, T8 terminal
result cache, T9 DeadlineAt interrupt — with the trade-offs (no gatewayruntime
pending-map rewrite; per-session in-memory store not yet cross-restart durable;
T9 only force-terminates when the gateway is unconfirmed) and the test names that
cover each.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 18:54:40 +08:00
Haitao Pan
c89ffb51ed fix(gateway): harden OpenClaw task recovery tests 2026-06-26 18:30:34 +08:00
da3a654ab4 Merge pull request #13 from ai-workspace-lab/fix/gateway-turn-stability-day1
fix(gateway): day-1 stability — stop infinite running & un-stoppable tasks
2026-06-26 17:56:36 +08:00
Haitao Pan
40c59269e9 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
09352b35a0 chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00
Haitao Pan
7765a7211d ci: move remote_contract to test gate between build and release
Reposition the remote provider contract check as a skippable test-stage
quality gate (needs: build, continue-on-error) so it can never block
build or release. release uses always() to wait without being gated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 17:17:38 +08:00
Haitao Pan
1b8718087d chore: temporarily disable desktop ai workspace 2026-06-19 18:40:25 +08:00
Haitao Pan
0cd8655cd0 fix: support macos validation on bash 3 2026-06-18 17:27:05 +08:00
Haitao Pan
4974ed8078 fix: allow unsigned macos CI packaging 2026-06-18 17:16:13 +08:00
Haitao Pan
db8275ca27 test: ignore transient cleanup races 2026-06-18 16:57:04 +08:00
Haitao Pan
39bb2d459d fix: preserve primary bridge auth token 2026-06-18 10:01:19 +08:00
Haitao Pan
a353f6866f fix(settings): update account panel and assistant connection state 2026-06-17 21:01:56 +08:00
Haitao Pan
ab0ecdd005 feat: add explicit gateway task case hints for openclaw-gateway-e2e-regression 2026-06-17 16:00:54 +08:00
Haitao Pan
96fbea6d63 Merge release/v1.1.4 into main 2026-06-16 06:20:16 +08:00
Haitao Pan
7e4b2a756a fix: prioritize managed bridge sync state 2026-06-16 06:20:13 +08:00
Haitao Pan
57f1cbc02a Merge main into release/v1.1.4 2026-06-14 14:28:24 +08:00
Haitao Pan
4b08f76232 feat(workspace): run remote setup script 2026-06-14 14:28:20 +08:00
Haitao Pan
5932b70f70 fix(desktop): bound WebRTC offer wait 2026-06-13 07:10:28 +08:00
Haitao Pan
2309d5bbb4 chore(desktop): remove advanced options panel 2026-06-13 07:09:06 +08:00
Haitao Pan
4b62300e40 feat(assistant): include attachment source paths in gateway prompts 2026-06-12 16:58:24 +08:00
Haitao Pan
a1d905f272 Merge branch 'release/v1.1.4' 2026-06-12 14:52:49 +08:00
Haitao Pan
d23bd2708c chore: remove stale Flutter code 2026-06-12 14:52:23 +08:00
Haitao Pan
6010eeb9c9 Merge release/v1.1.4 task flow fixes 2026-06-12 14:09:20 +08:00
Haitao Pan
017216e812 fix(app): bound OpenClaw artifact sync polling 2026-06-12 14:08:23 +08:00
Haitao Pan
03385e1891 Merge branch 'main' into release/v1.1.4 2026-06-09 16:04:23 +08:00
Haitao Pan
c21ea080e7 fix: split desktop mouse move data channel 2026-06-09 15:55:02 +08:00
Haitao Pan
0cd6d3e4a9 fix: split desktop mouse move data channel 2026-06-09 15:54:36 +08:00
Haitao Pan
3c3473a8f3 fix: use renderer first-frame signal for desktop video 2026-06-09 15:25:53 +08:00
Haitao Pan
722057de0b fix: use renderer first-frame signal for desktop video 2026-06-09 15:25:42 +08:00
Haitao Pan
372cf7cb8e fix: clear desktop first-frame overlay after decode 2026-06-09 15:20:53 +08:00
Haitao Pan
91bb9a180e fix: clear desktop first-frame overlay after decode 2026-06-09 15:20:45 +08:00
Haitao Pan
a8cce8e32c feat: align workspace ready actions and naming 2026-06-09 10:58:21 +08:00
Haitao Pan
923ec8fb76 feat: align workspace ready actions and naming 2026-06-09 10:58:15 +08:00
Haitao Pan
b356714d52 fix: smooth remote desktop input over webrtc 2026-06-09 10:47:05 +08:00
Haitao Pan
27fd3a3286 fix: smooth remote desktop input over webrtc 2026-06-09 10:46:58 +08:00
Haitao Pan
bbbf52e87f fix: isolate remote desktop webrtc sessions 2026-06-08 21:09:36 +08:00
Haitao Pan
064e0fdc27 fix: isolate remote desktop webrtc sessions 2026-06-08 21:09:11 +08:00
Haitao Pan
b222434a9d Add default bridge save action 2026-06-08 18:35:20 +08:00
Haitao Pan
e7d0220b9c Add default bridge save action 2026-06-08 18:35:08 +08:00
Haitao Pan
6ff7d892b5 Improve workspace status summary wording 2026-06-08 18:14:00 +08:00
Haitao Pan
23d8dd741a Improve workspace status summary wording 2026-06-08 18:13:52 +08:00
Haitao Pan
2c28984a1d Relax workspace prechecks and add post-deploy validation 2026-06-08 17:43:54 +08:00
Haitao Pan
03296b4e21 Relax workspace prechecks and add post-deploy validation 2026-06-08 17:43:40 +08:00