mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
7a97997b61
* test(gateway): promote remote host command proof * test(gateway): cover node control plane * test(gateway): narrow connected operator client * test(gateway): use public QA harness
28 lines
1.3 KiB
YAML
28 lines
1.3 KiB
YAML
title: Gateway node pending work
|
|
|
|
scenario:
|
|
id: gateway-node-pending-work
|
|
surface: gateway
|
|
category: gateway.nodes-and-remote-capabilities
|
|
coverage:
|
|
primary:
|
|
- gateway.pending-work-delivery
|
|
objective: Verify both Gateway node pending-work queues survive same-pairing reconnects and expose explicit delivery outcomes.
|
|
successCriteria:
|
|
- An operator queues explicit work for a paired disconnected node with wake disabled.
|
|
- The same node identity reconnects and drains the explicit work plus the baseline status request.
|
|
- An iPadOS camera command rejected as background-unavailable becomes a pullable pending action with the original command, parameters, and action id.
|
|
- A same-pairing foreground reconnect pulls and acknowledges the action, after which the queue is empty.
|
|
docsRefs:
|
|
- docs/gateway/protocol.md
|
|
- docs/nodes/camera.md
|
|
codeRefs:
|
|
- src/gateway/server-methods/nodes-pending.ts
|
|
- src/gateway/server-methods/nodes.invoke.ts
|
|
- src/gateway/server-methods/nodes.pending.ts
|
|
- test/e2e/qa-lab/runtime/gateway-node-pending-work.e2e.test.ts
|
|
execution:
|
|
kind: vitest
|
|
path: test/e2e/qa-lab/runtime/gateway-node-pending-work.e2e.test.ts
|
|
summary: Start a real child Gateway and prove disconnected enqueue/drain plus foreground-only pull/ack across same-pairing reconnects.
|