NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

Validate and harden nemoclaw debug for Windows WSL

Open kjw3 opened this issue 8 months ago • 3 comments

Summary

Follow up nemoclaw debug for explicit Windows WSL compatibility.

Motivation

nemoclaw debug is closer to Linux support than macOS support, so WSL is likely workable in many cases. But WSL still deserves explicit validation because several collectors depend on environment details that differ from native Linux:

  • Docker integration path
  • GPU visibility and nvidia-smi
  • networking and localhost/bridge behavior
  • OpenShell installation/runtime assumptions
  • host/kernel diagnostics availability

Right now WSL support is inferred, not validated.

Compatibility Snapshot

Based on the current nemoclaw debug implementation reviewed in PR #502:

Likely to work in WSL when tools are installed

  • date
  • uname -a
  • uptime
  • df -h
  • ps -ef
  • vmstat
  • iostat if the package is present
  • ss, ip addr, ip route
  • curl, nslookup
  • Docker commands if Docker is available from WSL

Environment-dependent in WSL

  • nvidia-smi
  • Docker stats / inspect / logs
  • OpenShell gateway and sandbox diagnostics
  • sandbox-internal execution path
  • dmesg permissions and usefulness

Risks specific to WSL

  • commands may exist but reflect WSL virtualization rather than the Windows host
  • Docker may be exposed through Docker Desktop rather than native Linux daemon behavior
  • localhost/forwarding assumptions may differ
  • GPU support depends on WSL GPU configuration

Requirements

Validation

  • Validate nemoclaw debug --quick on a real WSL environment
  • Validate full mode on a representative WSL + Docker setup
  • Validate behavior with and without GPU support

WSL-specific handling

  • Detect WSL explicitly when possible
  • Clarify which diagnostics describe the WSL guest versus the Windows host
  • Suppress or reword expected WSL-specific limitations so the output is easier to interpret

OpenShell and Docker behavior

  • Confirm the OpenShell path works from WSL if that is a supported user path
  • Confirm Docker diagnostics behave correctly when Docker Desktop is backing the daemon

Additional work

  • Add a WSL validation checklist or automated smoke path
  • Document whether WSL is officially supported, supported-with-caveats, or best-effort only

Participants

  • @cv
  • @kjw3

kjw3 avatar Mar 21 '26 00:03 kjw3

Hi @kjw3, thanks for the report. This one has been open a while: 67 releases have shipped since it was filed (we are now on v0.0.67), with onboarding, the sandbox runtime, config generation, and many platform paths reworked along the way. Could you check whether this is still something you need on the latest version? Cheers!

latenighthackathon avatar Jun 24 '26 16:06 latenighthackathon

@zyang-dev could you review this WSL debug validation item and confirm whether you can own it or route it to the right owner? This looks VDR-linked and still incomplete: validate nemoclaw debug --quick and full debug on WSL + Docker Desktop, clarify which diagnostics describe the WSL guest versus the Windows host, and document whether WSL is officially supported, supported with caveats, or best effort.

wscurran avatar Jun 25 '26 15:06 wscurran

nemoclaw debug --quick ran successfully on WSL + Docker Desktop. Closing this issue.

zyang-dev avatar Jun 25 '26 17:06 zyang-dev