Repository navigation
fix(cli): use plain language for connection checks - #165740
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed October 6, 2026, 1:35 AM ET / 05:35 UTC (Revision 3). ClawSweeper reviewWhat this changesThe branch replaces “probe” terminology with plain check language across CLI help, Doctor, service and update diagnostics, plugin configuration help, and matching assertions. Merge readiness⛔ Blocked before merge - 2 items remain Keep this useful maintainer-authored PR open. The introduced changes preserve configuration and runtime contracts, so the previous compatibility blocker is unsupported; no actionable correctness or security defect was found. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw’s CLI and Doctor turn configuration, service state, and connection results into operator-facing help and diagnostics. These messages guide setup, troubleshooting, and update recovery. flowchart LR
A[CLI commands] --> C[Connection and service checks]
B[Configuration and plugin metadata] --> C
C --> D[Check results]
D --> E[Diagnostic formatting]
B --> F[Help formatting]
E --> G[Operator guidance]
F --> G
Before merge
Agent review detailsSecurityNone. PR surfacePR surface statistics unavailable: the file list is incomplete. Review metricsNone. Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Use consistent, understandable diagnostic wording while retaining existing command, configuration, security, and machine-readable contracts. Do we have a high-confidence way to reproduce the issue? Not applicable: this is wording cleanup, and current-main source directly shows the terminology being improved. Is this the best way to solve the issue? Yes: updating the existing message producers and matching assertions is a focused solution; no competing implementation or configuration migration is introduced. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d8612ec864bb. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
* fix(cli): clarify connection checks and service diagnostics * fix(config): clarify plugin health-check help
Rebased onto main@9aa74552194e (2026-10-07). Test-only change, +84/-0 in
src/commands/status.scan.shared.test.ts.
Since the previous base, main reworded the unresolved-SecretRef warning in
gateway/probe-auth.ts ("probing" became "checking", openclaw#165740), so the expected
warning string is updated. Main also now folds the auth warning into a failed
probe's error and clears it. This regression still covers the other branch:
when the paired-device status RPC fallback succeeds, the warning is kept as
gatewayProbeAuthWarning and the Gateway reports reachable. All other
assertions are unchanged.
What Problem This Solves
CLI help, service checks, and update diagnostics describe routine checks as “probes.”
User Impact
Use plain connection-check language in CLI, Doctor, service, installer, update, and configuration and plugin-manifest help. Matching output assertions and canonical config-help hashes are updated together. Commands, flags, configuration defaults, and stored formats retain their contracts.
Evidence
Focused CLI, Doctor, channel, update-watcher, and native runtime diagnostics pass: 182 tests and one existing skip, 194.67 seconds including compilation. Core types, scoped lint, formatting, config docs verification, and diff checks pass. The small SecretRef assertion correction preserves its exit-code and no-credential-execution checks.
The shared SQLite loader and its exact output tests are in the separate runtime PR, keeping its broad CI classification outside this branch.
Independent CLI/service portion of #164757; targets main directly. No merge requested.
Review cleanup
Integrated main
28605849d0cd181c34799468053a76b80d5a6d5cfor conflicts, preserving its intentional duplicate-test removal and Doctor changes. Fixed the split-induced CI mismatch by keepingsrc/gateway/probe-auth.tswith its daemon-status warning assertion in this PR; runtime copy no longer changes that file. On the integrated branch, 89 Doctor and 68 status tests pass (combined 139.24s including compilation); targeted lint/format and canonical config-doc generation/check pass. Initial compilation was invalidated by a concurrent source edit and is not counted as proof; the subsequent stable run exited 0. No defaults, config keys, schemas, or stored formats change.Final verification: current-head CI is green, ClawSweeper rates this revision platinum hermit with no remaining findings, and the PR is non-draft and conflict-free. Ready for review; no merge or auto-merge requested.