Extend gateway configuration timeout#652
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 3, 2026, 10:32 AM ET / 14:32 UTC. Summary Reproducibility: yes. The linked setup logs show wsl.exe timing out around the current 30s limit, and current main routes ConfigureGatewayStep through CommandRunner, which returns TimedOut=true and exit -1 on process timeout; I did not run a live Windows/WSL reproduction. Review metrics: 3 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the narrow timeout and timeout-message fix with the focused setup-engine tests once maintainers accept or tune the 120s per-attempt setup wait. Do we have a high-confidence way to reproduce the issue? Yes. The linked setup logs show wsl.exe timing out around the current 30s limit, and current main routes ConfigureGatewayStep through CommandRunner, which returns TimedOut=true and exit -1 on process timeout; I did not run a live Windows/WSL reproduction. Is this the best way to solve the issue? Yes, mostly. Extending only the configure-gateway timeout and mapping TimedOut to a specific message is narrow and preserves the GATEWAY_CONFIGURED success sentinel, but the exact 120s value is a maintainer UX tradeoff. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 402c1a39a908. Label changesLabel justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
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
|
Give the WSL gateway configuration step more time for slow WSL startup and report timeout failures explicitly instead of surfacing an empty exit -1 error. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
4ec4fcf to
4c32c3f
Compare
Summary
exit -1errorFixes #638.
Validation
OPENCLAW_REPO_ROOT=...; .\build.ps1OPENCLAW_REPO_ROOT=...; dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restoreOPENCLAW_REPO_ROOT=...; dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restoreOPENCLAW_REPO_ROOT=...; dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-build --no-restore— 2074 total, 0 failed, 2045 passed, 29 skippedOPENCLAW_REPO_ROOT=...; dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-build --no-restore— 934 total, 0 failedOPENCLAW_REPO_ROOT=...; dotnet test .\tests\OpenClaw.SetupEngine.Tests\OpenClaw.SetupEngine.Tests.csproj --no-build --no-restore— 199 total, 0 failed