Repository navigation
Conversation
…lags When 'openclaw setup --non-interactive --accept-risk' fails on the gateway health check, the recovery hint tells users to re-run with '--install-daemon' or '--skip-health', but those flags only exist on 'openclaw onboard', not on 'openclaw setup'. Update the hint to reference the correct command surface: openclaw onboard --non-interactive --accept-risk --install-daemon openclaw onboard --non-interactive --accept-risk --skip-health Fixes openclaw#93947 Co-Authored-By: Claude <[email protected]>
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Close as superseded: this PR targets the right bug, but it only rewrites the second remediation line and leaves the first setup-reachable hint pointing at a bare unsupported Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Canonical path: Use #93994 as the canonical landing path because it fixes both hint lines and the assertion without changing CLI flag registration. So I’m closing this here and keeping the remaining discussion on #93994. Review detailsBest possible solution: Use #93994 as the canonical landing path because it fixes both hint lines and the assertion without changing CLI flag registration. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection gives a high-confidence path: Is this the best way to solve the issue? No. This PR is only a partial fix because it updates the second hint line but leaves the first bare-flag hint; the narrower complete solution is #93994. Security review: Security review cleared: Security review cleared: the diff only changes TypeScript CLI hint text and does not touch dependencies, workflows, secrets, auth, or executable supply-chain surfaces. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against 20534c57b7e8. |
|
close all pr |
Summary
openclaw setup --non-interactive --accept-riskfails on the gateway health check, it prints recovery hints referencing--install-daemonand--skip-health— but those flags are only registered onopenclaw onboard, not onopenclaw setup.onboard, but they are also reachable viasetup --non-interactive.openclaw onboard --non-interactive --accept-risk --install-daemonandopenclaw onboard --non-interactive --accept-risk --skip-healthso users know which command supports those flags.Fixes #93947
Real behavior proof (required for external PRs)
Behavior addressed:
Health-failure hints now correctly reference the
onboardcommand instead of bare flags that don't exist onsetup.Real environment tested:
macOS 26.5.1 (arm64), Node.js runtime, openclaw main branch (be4c541), unit test suite
Exact steps or command run after this patch:
Before-fix evidence:
After running
openclaw setup --non-interactive --accept-riskwith no running gateway, the hint was:(But
setuphas neither--install-daemonnor--skip-health.)After-fix evidence:
Observed result after the fix:
The health-failure hint text now correctly references the
onboardcommand with the required--non-interactive --accept-riskflags, making it actionable for users who entered the wizard viasetup --non-interactive.What was not tested:
Tests and validation
Risk / scope