Repository navigation
fix(cli): improve error message for unknown requestId in devices approve - #94055
yuxuan-7814 wants to merge 2 commits into
Conversation
…ilures - Reduce retry attempts for MEGOLM_UNKNOWN_INBOUND_SESSION_ID from 8 to 2 (keys were never shared, so retrying is futile) - Add isRecoverableSyncError() to classify decryption, Megolm, and transient network errors as recoverable instead of fatal - Prevent sync.unexpected_error from treating recoverable errors as fatal Closes openclaw#93501
- Add helpful context when approvePairingWithFallback returns null - Show pending request IDs to guide user - Suggest running 'openclaw devices list' for more info
|
Thanks for the contribution. I reviewed the branch, and this PR is not a good landing base for OpenClaw. Close: this branch is not a viable landing candidate because it claims to address the nodes approval report without changing the nodes approval path, and it mixes in unrelated Matrix recovery work that is already represented by narrower open PRs. So I’m closing this PR rather than keeping an unmergeable branch open. A new narrow PR that carries only the useful part is welcome. Review detailsBest possible solution: Close this mixed branch and route the nodes issue to the focused nodes PR, the Matrix issue to a focused Matrix PR, and any devices-only UX work to the existing devices stale-approve thread or a new narrow PR with tests. Do we have a high-confidence way to reproduce the issue? Yes, by source inspection: the linked report exercises Is this the best way to solve the issue? No. The branch is the wrong shape for the linked issue because it fixes a sibling devices command and bundles unrelated Matrix recovery changes; the maintainable solution is one focused nodes CLI patch plus separate review of Matrix and devices-only work. Security review: Security review needs attention: The diff has a concrete auth-sensitive concern in the unrelated Matrix change because it treats
AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against 8f48f5e5ba67. |
|
ClawSweeper applied the proposed close for this PR.
|
Summary
Improve UX when
openclaw nodes approveoropenclaw devices approvefails with "unknown requestId" by showing available pending request IDs and suggesting next steps.Linked context
Closes #94040
Real behavior proof (required for external PRs)
openclaw devices approve <invalid-id>andopenclaw nodes approve <invalid-id>Pending requests: abc123, def456. Run openclaw devices list for details.Tests and validation
openclaw devices approve invalid-idandopenclaw nodes approve invalid-idRisk checklist
Current review state