Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs real behavior proof before merge. Reviewed September 2, 2026, 2:14 PM ET / 18:14 UTC. ClawSweeper reviewWhat this changesThe PR downloads the CLI installer to a temporary file with curl retries, sends the script to WSL through standard input, and updates setup-review copy and regression tests. Merge readiness⛔ Blocked until stronger real behavior proof is added - 5 items remain Keep open. The branch directly addresses the linked fresh-WSL DNS failure, but its new all-error curl retry policy delays permanent installer failures and it still lacks current-head managed-WSL and WinUI proof. Priority: P2 Review scores
Verification
How this fits togetherThe setup engine provisions an app-owned WSL gateway and installs the OpenClaw CLI before configuring and starting the gateway. The installer script passes through the WSL command runner, then its result determines whether setup proceeds or rolls back. flowchart LR
A[Setup configuration] --> B[Install CLI step]
B --> C[Installer shell script]
C --> D[WSL command runner]
D --> E[curl download and retry]
E --> F[Bash CLI installation]
F --> G[CLI verification]
G --> H[Gateway setup continues]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Keep the temporary-file and stdin transport, but retry only explicitly transient curl failures including DNS exit 6, then attach redacted current-head WSL recovery or failure-propagation evidence and current WinUI proof. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: current main pipes curl into Bash, while this branch's generated WSL script and fake-runner test show the intended DNS exit-code propagation path. A real current-head managed-WSL failure/recovery run has not been supplied. Is this the best way to solve the issue? No. Download-before-execute and stdin transport are appropriate, but Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 16cb6897941f. LabelsLabel changes:
Label justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
Adversarial dual-model reviewNo CRITICAL or HIGH code defect was found. The core download-before-execute repair is correct, but the review found two cross-model retry/timeout concerns and three lower-confidence edge/test concerns. Both models agree: HIGH consensus
Only one model flagged: LOW consensus
Cross-reference assessment
Stable-release dispositionI recommend addressing the MEDIUM timeout/deadline diagnostic before stable landing. Current repository proof policy is also not satisfied: the PR body lacks Current GitHub checks pass for tests, win-x64/win-arm64 builds, setup-connect, network-recovery, and revocation-recovery E2Es. The PR is 13 commits behind current main but GitHub reports it mergeable. |
0f45c88 to
fc2d2ad
Compare
Download the installer to a temporary file with bounded curl retries before executing it. Pass the script through WSL stdin so Bash variables survive, and preserve curl failures for actionable setup errors. Fixes openclaw#1256.
fc2d2ad to
d9618fd
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
🦞👀 Re-review progress:
|
|
Superseded by #1297 at exact head |
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: fix(setup): retry CLI installer downloads This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
TBD if this is needed following scott's comment above |
|
Closing as superseded by #1297. The repaired branch could not be fast-forwarded into this fork because it was being force-updated externally; no force push or merge was performed. #1297 contains the current-main merge, hardened implementation, full local validation, fresh WSL proof, and exact-head hosted results. |
Summary
wsl.exeargument translation.Fixes #1256. Rebuilt as one topic commit on current
main(16cb6897).Required proof pools
windows-wsl-gateway-e2e: the product WSL installer transport and recovery path changed.windows-winui-interactive: setup-review copy changed.Validation
Current head:
d9618fd7bcb29578992691042a7f73f13d9634af.\build.ps1: passed on Windows 11 ARM64; all projects and documentation validation succeeded.dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore: 3,873 passed, 32 environment-gated skips.dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore: 2,824 passed after one unrelated chat-queue timing flake passed on full rerun.git diff --check origin/main...HEAD: passed.Rubber-duck review confirmed the current-main reconstruction preserves WSL-stdin transport, temporary-file execution, retry coverage, and error propagation. The maintainer review's transfer-deadline and retry-classification questions remain in the review thread for disposition.
Real behavior proof
The current-head regression tests verify generated script transport through WSL stdin, retry configuration, curl exit-code/stderr preservation, and review-summary copy.
Supporting integrated-stack proof completed the full Local AI setup and download path on an RTX Spark ARM64 host. It did not inject an actual DNS failure, so it does not replace retry-path proof.
Not verified / blocked: a live current-head managed-WSL DNS-failure and recovery run still requires
windows-wsl-gateway-e2e.Security and compatibility