Skip to content

fix(canvas): honor canonical action deadlines - #117316

Merged
steipete merged 1 commit into
mainfrom
codex/qa400-canvas-canonical-deadlines
Aug 1, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/qa400-canvas-canonical-deadlines

Conversation

@steipete

@steipete steipete commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

What Problem This Solves

Canvas has two broken invocation-deadline producers. Its CLI can terminate the Gateway request before the paired node finishes, and its model-facing tool applies a requested timeout only to Gateway transport while leaving the node at its unrelated default deadline. Every Canvas action is affected.

Why This Change Was Made

Both existing plugin-owned invocation helpers now record the real node deadline, retain the canonical 30-second default, and give Gateway transport the existing timer-safe 10-second forwarding grace. Explicit longer Gateway deadlines, the snapshot command’s 60-second transport, malformed-timeout errors, node lookup options, timer limits, and existing JSON/human output are preserved. No Gateway protocol, plugin SDK, configuration, or native contracts change.

User Impact

openclaw nodes canvas present|hide|navigate|eval|snapshot|a2ui push|a2ui reset and all seven model-facing Canvas actions now complete within their intended paired-node deadlines. Operator-selected execution timeouts reach the node; Gateway transport no longer races a valid node result.

Evidence

  • Genuine tests-first regression on both existing owner suites: 32 failures and 49 passes before the fix; all 81 focused tests pass afterward in one cache-disabled combined run.
  • Source-blind authenticated localhost Gateway proof: unchanged main fails all seven real CLI actions and all seven real agent-tool actions; the exact candidate succeeds on all 14, across 30 authenticated WebSocket connections and 15 real node.invoke requests per run.
  • Exact tests cover all seven actions in both default and explicit timeout modes, preserved 60-second snapshot transport, larger operator-selected transport, malformed timeout rejection, unchanged node lookup options, and safe saturation at 2,147,000,000 ms.
  • Four independent hostile P0–P3 reviews: zero findings; one complete Codex Sol/high structured P0–P3 review with real TruffleHog: zero findings, confidence 0.93.
  • Existing targeted oxfmt and oxlint checks pass; exact four-file diff is clean and merges without conflicts into exact current main (03698f9); all 31 owner, caller, Gateway, SDK, native, and documentation blobs remain unchanged.

@openclaw-barnacle openclaw-barnacle Bot added size: M maintainer Maintainer-authored PR labels Aug 1, 2026
@steipete
steipete merged commit 060a541 into main Aug 1, 2026
87 of 89 checks passed
@steipete
steipete deleted the codex/qa400-canvas-canonical-deadlines branch August 1, 2026 09:40
@steipete

steipete commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit to Alix-007/openclaw that referenced this pull request Aug 1, 2026
* origin/main:
  fix(test/ui): prevent shared history pollution (openclaw#117348)
  fix(openrouter): apply image request transport policy (openclaw#117336)
  perf(gateway): skip clean transcript workers (openclaw#117342)
  test(testing): assert relay smoke readiness
  fix(testing): activate relay live smoke transport
  feat(channels): record account lifecycle facts and retire inferred health vocabularies (openclaw#117300)
  fix(canvas): remove unsupported snapshot delay hint (openclaw#117326)
  refactor(agents): fold cache TTL pruning into prompt projection (openclaw#117313)
  fix(canvas): honor paired-node invocation deadlines (openclaw#117316)
  fix(system-agent): make exit-and-run-a-terminal guidance surface-correct (openclaw#114633)
  fix(ai): assistant text blocks are run together on replay (openclaw#115743)
  refactor(agents): canonicalize subagent execution state (openclaw#117267)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 2, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 2, 2026
* origin/main:
  fix(test/ui): prevent shared history pollution (openclaw#117348)
  fix(openrouter): apply image request transport policy (openclaw#117336)
  perf(gateway): skip clean transcript workers (openclaw#117342)
  test(testing): assert relay smoke readiness
  fix(testing): activate relay live smoke transport
  feat(channels): record account lifecycle facts and retire inferred health vocabularies (openclaw#117300)
  fix(canvas): remove unsupported snapshot delay hint (openclaw#117326)
  refactor(agents): fold cache TTL pruning into prompt projection (openclaw#117313)
  fix(canvas): honor paired-node invocation deadlines (openclaw#117316)
  fix(system-agent): make exit-and-run-a-terminal guidance surface-correct (openclaw#114633)
  fix(ai): assistant text blocks are run together on replay (openclaw#115743)
  refactor(agents): canonicalize subagent execution state (openclaw#117267)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant