Skip to content

fix #94040: [Bug]: nodes approve failed: GatewayClientRequestError: unknown requestId - #94452

Merged
steipete merged 6 commits into
openclaw:mainfrom
mushuiyu886:feat/issue-94040
Jun 26, 2026
Merged

steipete merged 6 commits into
openclaw:mainfrom
mushuiyu886:feat/issue-94040

Conversation

@mushuiyu886

@mushuiyu886 mushuiyu886 commented Jun 18, 2026 •

Copy link
Copy Markdown
Contributor

Status

  • status: 👀 ready for maintainer look

Summary

  • Problem: openclaw nodes approve <requestId> surfaced a raw GatewayClientRequestError: unknown requestId when the request id was stale or no longer pending, leaving operators without a clear recovery path during companion/node onboarding.
  • Solution: When node.pair.approve returns the specific unknown requestId error, the nodes CLI now fetches current pending node pairing requests and prints a user-actionable message.
  • What changed: nodes approve now reports the stale request id, shows currently pending request ids when visible, and points users to openclaw nodes pending. This update also keeps the existing regression test type-safe and fixes the lint failure from the first PR head.
  • What did not change: gateway pairing semantics, requestId lifetime, pairing storage, auth scopes, node approval policy, device pairing CLI behavior, provider routing, session state, and channel delivery are unchanged.

Why it matters / User impact

  • Why it matters / User impact: This issue blocks onboarding: the companion app tells the user to run an approval command, but by the time they run it the request id can be stale or no longer pending. The previous error looked like a defect and gave no next step. The new message explains the stale request id and shows the current pending request ids, so the operator can rerun the correct approval command or inspect pending requests.

Scope boundary

  • What did NOT change: This patch only changes the openclaw nodes approve <requestId> CLI rendering for the specific gateway INVALID_REQUEST / stale requestId response. It does not change gateway node.pair.approve, node pairing persistence, request id expiration rules, node/device auth, pairing scopes, companion app behavior, Kubernetes port-forwarding, provider routing, session state, channel delivery, or openclaw devices approve.
  • Failure-mode boundary: Only the exact GatewayClientRequestError with gatewayCode === "INVALID_REQUEST" and message containing unknown requestId is converted into the actionable CLI message. Other approval errors still flow through the existing nodes approve failed: ... path.

Source-of-truth boundary

  • Architecture / source-of-truth check: The source-of-truth boundary is the nodes CLI command layer in src/cli/nodes-cli/register.pairing.ts. The gateway protocol result is valid; the CLI was the layer leaking raw protocol wording to users instead of rendering the canonical operator recovery path. This keeps compatibility with the existing gateway contract because it performs only a read-only node.pair.list lookup after the stale approval response and does not alter request/response shape, defaults, schema, migration, or wire behavior.

Competition / linked PR analysis

  • Related open PR: fix(cli): improve error message for unknown requestId in devices approve #94055 (fix(cli): improve error message for unknown requestId in devices approve).
  • Why this PR is not the same patch: the issue report shows openclaw nodes approve 57511973-c922-444a-b5a6-d689fc6ea364, but fix(cli): improve error message for unknown requestId in devices approve #94055's visible CLI change targets src/cli/devices-cli.runtime.ts (openclaw devices approve) and does not update the nodes approval command path. Its diff also contains unrelated Matrix changes, which broadens review scope beyond this issue.
  • Why this PR is safer to review: this patch touches only the nodes pairing CLI command and its matching CLI coverage test. It does not alter gateway methods, Matrix code, device approval behavior, or pairing storage.
  • Non-duplication claim: this PR fixes the reported command surface (nodes approve) with a local real CLI proof, rather than improving a sibling devices approve error path.

Origin / follow-up

N/A — independent root-cause PR for #94040. #94055 is an external competing open PR for the same issue, not a merged origin/follow-up anchor.

Closes #94040

Review findings addressed

  • RF-001 (status: ⏳ waiting on author): this update supplies the author-side correction and fresh verification; no label was manually changed outside the contributor flow.
  • RF-002 / RF-003 (the recovery hint pointed at an unregistered nested pending command): fixed the stale-request recovery hint in src/cli/nodes-cli/register.pairing.ts to point to the registered openclaw nodes pending command, and updated the regression expectation.
  • RF-004 (node scripts/run-vitest.mjs run --config test/vitest/vitest.cli.config.ts src/cli/nodes-cli.coverage.test.ts --reporter=verbose): ran exactly this command after the fix; 1 file passed, 20 tests passed.
  • RF-005 (git diff --check origin/main...HEAD): ran after the fix; it completed with no output.

Patch quality notes

  • Patch quality notes: Diff size is small: one production CLI file and one matching CLI coverage test file. The new catch block is intentionally narrow: it only matches GatewayClientRequestError with gatewayCode === "INVALID_REQUEST" and stale requestId wording, then performs a read-only pending-list lookup for the recovery message. It is not a broad guard or fallback masking gateway failures; unrelated approval errors are rethrown through the existing command wrapper. The output avoids raw GatewayClientRequestError and avoids adding an extra Error: prefix for the user-facing stale request message.

Real behavior proof

  • Behavior or issue addressed: openclaw nodes approve <stale requestId> should explain that the request id is unknown and show current pending request ids instead of surfacing raw gateway protocol text.
  • Real environment tested: Linux task worktree at committed PR head d5fa10201c60a9fd94a1e426d6137b085855004b, with origin/main fetched at 2ff1dfdebece970cb0fa579d2fc51e64c0bdc10c, Node v22.22.0, and pnpm dependencies installed from the lockfile. The proof drives the real source CLI entrypoint against a local WebSocket gateway stub implementing connect, node.pair.list, and node.pair.approve.
  • Exact steps or command run after this patch:
source "/media/vdb/code/ai/aispace/openclaw-pr-94452-evidence/context.env"; (cd "$TASK_WORKTREE" && pnpm exec oxlint src/cli/nodes-cli/register.pairing.ts)
source "/media/vdb/code/ai/aispace/openclaw-pr-94452-evidence/context.env"; (cd "$TASK_WORKTREE" && pnpm tsgo:core:test)
source "/media/vdb/code/ai/aispace/openclaw-pr-94452-evidence/context.env"; (cd "$TASK_WORKTREE" && node scripts/run-vitest.mjs run --config test/vitest/vitest.cli.config.ts src/cli/nodes-cli.coverage.test.ts --reporter=verbose)
source "/media/vdb/code/ai/aispace/openclaw-pr-94452-evidence/context.env"; (cd "$TASK_WORKTREE" && node "$EVIDENCE_DIR/nodes-approve-unknown-request-proof.mjs") > "$EVIDENCE_DIR/nodes-approve-unknown-request-proof.output.json"
source "/media/vdb/code/ai/aispace/openclaw-pr-94452-evidence/context.env"; git -C "$TASK_WORKTREE" diff --check origin/main...HEAD
  • Evidence after fix: The real CLI exits with code 1 but now prints the stale request id, current pending request id, and the recovery command. The gateway request trace confirms the CLI ran through node.pair.list, attempted node.pair.approve with the stale id, then listed pending requests again to build the message.
{
  "scenario": "nodes approve stale requestId against gateway with current pending request",
  "cli": {
    "exitCode": 1,
    "stdout": "",
    "stderr": "nodes approve failed: Unknown node pairing requestId: stale-request\nPending requestIds: current-request\nRun openclaw nodes pending to inspect current requests."
  }
}
connect -> node.pair.list -> connect -> node.pair.approve { requestId: "stale-request" } -> connect -> node.pair.list

The full nodes CLI coverage test passed:

Test Files  1 passed (1)
Tests  20 passed (20)

The targeted lint, core test typecheck, and diff --check origin/main...HEAD also passed after this update.

  • Observed result after fix: Users no longer see the raw GatewayClientRequestError: unknown requestId for this stale nodes approval path. They see the stale request id, current pending request ids when available, and the command to inspect pending node pairing requests.
  • What was not tested: No live Windows Companion App, Kubernetes port-forwarded gateway, or production gateway was used. The proof covers the local CLI-to-gateway WebSocket path for nodes approve and the stale/unknown requestId error branch.
  • Fix classification: Root cause fix for the nodes CLI error translation boundary.

Regression Test Plan

  • Target test file: src/cli/nodes-cli.coverage.test.ts
  • Scenario locked in: nodes approve stale-request receives GatewayClientRequestError with gatewayCode: "INVALID_REQUEST" and unknown requestId; the CLI then lists pending requests and prints Unknown node pairing requestId, Pending requestIds, and openclaw nodes pending without raw GatewayClientRequestError text.
  • Why this is the smallest reliable guardrail: The test uses one-shot gateway mocks so it does not pollute the shared CLI coverage mock state, and it verifies the negative output boundary (GatewayClientRequestError and nodes approve failed: Error: are absent).
  • The full src/cli/nodes-cli.coverage.test.ts file was run with the CLI Vitest shard to ensure adjacent nodes CLI coverage still passes.

Merge risk

  • Risk labels considered: CLI onboarding behavior, node pairing, linked external PR fix(cli): improve error message for unknown requestId in devices approve #94055, and external Windows Companion/Kubernetes live-proof boundary.
  • Risk explanation: The changed code runs an extra read-only pending-list lookup after one specific approval failure. A too-broad match could hide unrelated approval failures.
  • Why acceptable: The matcher requires both GatewayClientRequestError, INVALID_REQUEST, and unknown requestId; unrelated errors are rethrown unchanged. The proof shows the exact WebSocket command sequence and the test checks that raw protocol text is removed only for this path.

Root Cause

  • Root cause: The source of the user-visible failure was the nodes CLI rendering boundary: it passed a stale requestId protocol failure through as raw gateway text instead of translating that valid gateway response into the operator state needed for companion/node pairing recovery.
  • Why this is root-cause fix: The fix is applied at the CLI rendering boundary where the unhelpful message was produced, and it uses the canonical pending-pairing list to provide the correct next action without changing the gateway contract or masking unrelated approval failures.
  • Maintainer-ready confidence: High for the targeted CLI behavior; live Windows Companion and Kubernetes port-forward reproduction are not included and are disclosed above.

@openclaw-barnacle openclaw-barnacle Bot added cli CLI command changes size: S proof: supplied External PR includes structured after-fix real behavior proof. labels Jun 18, 2026
@mushuiyu886

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jun 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

@clawsweeper

clawsweeper Bot commented Jun 18, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed June 26, 2026, 7:36 PM ET / 23:36 UTC.

Summary
The PR changes openclaw nodes approve <requestId> so stale or unknown node pairing request IDs render actionable pending-request guidance instead of raw gateway protocol errors.

PR surface: Source +56, Tests +76. Total +132 across 5 files.

Reproducibility: yes. at source level: current main and v2026.6.10 still call node.pair.approve for a missing requestId, and the gateway returns unknown requestId. I did not live-run the original Windows Companion plus Kubernetes port-forward flow.

Review metrics: none identified.

Root-cause cluster
Relationship: fixed_by_candidate
Canonical: #94040
Summary: This PR is the focused CLI-rendering fix candidate for the canonical nodes approval unknown requestId onboarding issue; broader gateway idempotency remains adjacent.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge readiness
Overall: 🦪 silver shellfish
Proof: 🦪 silver shellfish
Patch quality: 🐚 platinum hermit
Result: blocked until stronger real behavior proof is added.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P1] Add redacted current-head terminal or live output for openclaw nodes approve <stale requestId> at a49f8a8d9c8ba0e6df14e74deed65a385e5a3cfb showing the new pending-request message.

Proof guidance:

  • [P1] Needs stronger real behavior proof before merge: The PR body includes terminal proof, but it is for an older head; add redacted current-head terminal or live output, then update the PR body so ClawSweeper can re-review automatically or a maintainer can request @clawsweeper re-review.

Risk before merge

  • [P1] The PR body’s terminal proof was captured at older head d5fa10201c60a9fd94a1e426d6137b085855004b, while current head a49f8a8d9c8ba0e6df14e74deed65a385e5a3cfb includes later preflight and error-formatting changes.
  • [P1] The original Windows Companion plus Kubernetes port-forward flow was not live-proven here; this patch is a focused CLI recovery-message fix, not proof that no deeper gateway race exists.

Maintainer options:

  1. Decide the mitigation before merge
    Land the focused nodes CLI rendering/preflight fix after refreshed current-head terminal proof or an explicit maintainer proof override, and keep broader gateway idempotency semantics in separate review.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Next step before merge

  • [P1] No automated code repair is indicated; the remaining blocker is refreshed current-head real behavior proof or maintainer acceptance of the proof gap.

Security
Cleared: The diff is limited to CLI error rendering and tests, with no new dependencies, install hooks, secrets handling, or broader code-execution surface.

Review details

Best possible solution:

Land the focused nodes CLI rendering/preflight fix after refreshed current-head terminal proof or an explicit maintainer proof override, and keep broader gateway idempotency semantics in separate review.

Do we have a high-confidence way to reproduce the issue?

Yes, at source level: current main and v2026.6.10 still call node.pair.approve for a missing requestId, and the gateway returns unknown requestId. I did not live-run the original Windows Companion plus Kubernetes port-forward flow.

Is this the best way to solve the issue?

Yes for the immediate operator-facing bug: the CLI rendering/preflight boundary is narrower than changing gateway approval semantics. The broader idempotent approval idea in #94532 should stay separate unless maintainers choose that contract.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 6883c6c070f6.

Label changes

Label changes:

  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🦪 silver shellfish, so this older rating label is no longer current.

Label justifications:

  • P2: This PR addresses a normal-priority nodes CLI onboarding failure with limited blast radius around pairing approval error rendering.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: The PR body includes terminal proof, but it is for an older head; add redacted current-head terminal or live output, then update the PR body so ClawSweeper can re-review automatically or a maintainer can request @clawsweeper re-review.
Evidence reviewed

PR surface:

Source +56, Tests +76. Total +132 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 3 90 34 +56
Tests 2 78 2 +76
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 168 36 +132

What I checked:

  • Repository policy read: Root AGENTS.md was read fully; no scoped AGENTS.md exists under src/cli, so root PR review, proof, CLI compatibility, and history guidance applies. (AGENTS.md:1, 6883c6c070f6)
  • Current main still has the raw-error path: Current main resolves approval scopes, then calls node.pair.approve directly; if the requested ID is absent from the pending list, the CLI still proceeds to the gateway approve call. (src/cli/nodes-cli/register.pairing.ts:44, 6883c6c070f6)
  • Gateway contract returns unknown requestId: The gateway node.pair.approve handler returns INVALID_REQUEST with unknown requestId when approveNodePairing cannot approve the pending request. (src/gateway/server-methods/nodes.ts:940, 6883c6c070f6)
  • Pairing state can make IDs disappear: Pending node pairing IDs expire after five minutes, and approveNodePairing returns null when pendingById[requestId] is missing or actively claimed stale. (src/infra/node-pairing.ts:103, 6883c6c070f6)
  • PR head implementation: At PR head, resolveApproveScopesForRequest lists pending requests, fails locally with pending-ID guidance when the requested ID is absent, and still catches the gateway unknown requestId race after preflight. (src/cli/nodes-cli/register.pairing.ts:44, a49f8a8d9c8b)
  • PR regression coverage: The PR adds nodes CLI tests for absent stale IDs, IDs disappearing after preflight, unavailable preflight fallback, secret redaction, and updated connection-option reminder text. (src/cli/nodes-cli.coverage.test.ts:126, a49f8a8d9c8b)

Likely related people:

  • Shakker: Current-main blame and file history for the nodes CLI approve path, gateway node methods, and node-pairing helper point to commit c05d0d5.... (role: recent area contributor; confidence: medium; commits: c05d0d5bbfb0; files: src/cli/nodes-cli/register.pairing.ts, src/cli/nodes-cli/rpc.runtime.ts, src/gateway/server-methods/nodes.ts)
  • steipete: The latest two commits on this PR head adjust stale approval guidance and error formatting in the touched nodes CLI files. (role: recent PR branch updater; confidence: high; commits: eea994f05bb0, a49f8a8d9c8b; files: src/cli/nodes-cli/register.pairing.ts, src/cli/nodes-cli/cli-utils.ts, src/cli/nodes-cli/register.status.ts)
  • vincentkoc: Live PR comments show vincentkoc triggered Clownfish automerge and later posted a validation/update note for this branch. (role: review and automation participant; confidence: medium; files: src/cli/nodes-cli/register.pairing.ts, src/cli/nodes-cli.coverage.test.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal backlog priority with limited blast radius. labels Jun 18, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jun 18, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Jun 18, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jun 19, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Jun 19, 2026
@vincentkoc

Copy link
Copy Markdown
Member

/clownfish automerge

@vincentkoc vincentkoc added the clownfish:automerge Maintainer opted this Clownfish PR into bounded ClawSweeper-reviewed automerge label Jun 19, 2026
@vincentkoc

Copy link
Copy Markdown
Member

Clownfish is on the reef for this PR. 🐠

I tagged clownfish:automerge and sent ClawSweeper over this exact head. If the sweep finds rough coral, failing checks, or needs-human, I will take another bounded repair lap and ask for a fresh review.

A maintainer can call /clownfish stop any time and I will drift this back to human review.

@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jun 19, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jun 19, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jun 19, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jun 19, 2026
@steipete steipete self-assigned this Jun 26, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jun 26, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Jun 26, 2026
@steipete

Copy link
Copy Markdown
Contributor

Land-ready verification complete after maintainer repair.

  • One authoritative node-approval preflight now owns existence and scope lookup, preserves fallback approval when listing is unavailable, and gives race-safe stale-ID guidance without repeating the list RPC or exposing remote auth values.
  • Focused proof: node scripts/run-vitest.mjs src/cli/nodes-cli.coverage.test.ts src/cli/program.nodes-basic.e2e.test.ts — 47 tests passed; targeted oxlint passed.
  • Fresh autoreview: no accepted/actionable findings.
  • Repository exact-head hosted CI/Testbox gates passed for a49f8a8d9c8ba0e6df14e74deed65a385e5a3cfb.

No known proof gaps.

@steipete
steipete merged commit deb0ffd into openclaw:main Jun 26, 2026
105 of 107 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

wangmiao0668000666 pushed a commit to wangmiao0668000666/openclaw that referenced this pull request Jun 27, 2026
…Error: unknown requestId (openclaw#94452)

* fix(nodes): explain unknown approval request ids

* fix(nodes): keep stale request handling CI-clean

* fix(nodes): point stale approve hint at pending command

* fix(nodes): explain stale approval request ids

* fix(nodes): make stale approval guidance reliable

* fix(nodes): preserve stale approval error context

---------

Co-authored-by: openclaw-clownfish[bot] <280122609+openclaw-clownfish[bot]@users.noreply.github.com>
Co-authored-by: Peter Steinberger <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jun 27, 2026
…Error: unknown requestId (openclaw#94452)

* fix(nodes): explain unknown approval request ids

* fix(nodes): keep stale request handling CI-clean

* fix(nodes): point stale approve hint at pending command

* fix(nodes): explain stale approval request ids

* fix(nodes): make stale approval guidance reliable

* fix(nodes): preserve stale approval error context

---------

Co-authored-by: openclaw-clownfish[bot] <280122609+openclaw-clownfish[bot]@users.noreply.github.com>
Co-authored-by: Peter Steinberger <[email protected]>
xydigit-zt pushed a commit to xydigit-zt/xydigit-zt-openclaw that referenced this pull request Jun 28, 2026
…Error: unknown requestId (openclaw#94452)

* fix(nodes): explain unknown approval request ids

* fix(nodes): keep stale request handling CI-clean

* fix(nodes): point stale approve hint at pending command

* fix(nodes): explain stale approval request ids

* fix(nodes): make stale approval guidance reliable

* fix(nodes): preserve stale approval error context

---------

Co-authored-by: openclaw-clownfish[bot] <280122609+openclaw-clownfish[bot]@users.noreply.github.com>
Co-authored-by: Peter Steinberger <[email protected]>
wheakerd pushed a commit to wheakerd/clawdbot that referenced this pull request Jul 15, 2026
…Error: unknown requestId (openclaw#94452)

* fix(nodes): explain unknown approval request ids

* fix(nodes): keep stale request handling CI-clean

* fix(nodes): point stale approve hint at pending command

* fix(nodes): explain stale approval request ids

* fix(nodes): make stale approval guidance reliable

* fix(nodes): preserve stale approval error context

---------

Co-authored-by: openclaw-clownfish[bot] <280122609+openclaw-clownfish[bot]@users.noreply.github.com>
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit deb0ffd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes clownfish:automerge Maintainer opted this Clownfish PR into bounded ClawSweeper-reviewed automerge P2 Normal backlog priority with limited blast radius. proof: supplied External PR includes structured after-fix real behavior proof. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: M status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: nodes approve failed: GatewayClientRequestError: unknown requestId

4 participants