fix(windows): enable Docker WSL integration and avoid Ubuntu first-run races#4346
Conversation
…n races Signed-off-by: zyang-dev <267119621+zyang-dev@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughEnables and configures Docker Desktop WSL integration from the Windows bootstrap script, rewrites WSL distro install/readiness orchestration, threads WSL-aware onboarding hints into error messages, updates tests to assert orchestration and hints, and adds CI workflow steps for WSL setup and ext4 workspace syncing. ChangesDocker Desktop WSL Integration and Windows Bootstrap Orchestration
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes Possibly related issues
Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
E2E Advisor RecommendationRequired E2E: Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
E2E Scenario Advisor RecommendationRequired scenario E2E: Dispatch required scenario E2E:
Full scenario advisor summaryE2E Scenario AdvisorBase: Required scenario E2E
Optional scenario E2E
Relevant changed files
|
PR Review AdvisorFindings: 0 needs attention, 12 worth checking, 1 nice ideas Review findings🛠️ Needs attention
🔎 Worth checking
🌱 Nice ideas
Since last review detailsCurrent findings:
This is an automated advisory review. A human maintainer must make the final merge decision. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@test/bootstrap-windows.test.ts`:
- Around line 256-257: The test currently sets $settingsDir to a fixed Join-Path
$env:TEMP 'docker-settings-test' which can leave stale files and make
backupCount assertions flaky; change the setup to create a unique settings
directory (e.g., append a GUID or random suffix) and assign that path to
$settingsDir and $env:APPDATA so each test run uses an isolated directory;
ensure the test creates the directory before use and (optionally) removes it
during teardown to avoid accumulation.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: da6d23c3-5fd3-4071-a64d-e84e96f5de0e
📒 Files selected for processing (8)
scripts/bootstrap-windows.ps1src/lib/onboard/bridge-dns-preflight.test.tssrc/lib/onboard/bridge-dns-preflight.tssrc/lib/onboard/gateway-sandbox-reachability.test.tssrc/lib/onboard/gateway-sandbox-reachability.tssrc/lib/onboard/preflight.test.tssrc/lib/onboard/preflight.tstest/bootstrap-windows.test.ts
Signed-off-by: zyang-dev <267119621+zyang-dev@users.noreply.github.com>
Signed-off-by: zyang-dev <267119621+zyang-dev@users.noreply.github.com>
Signed-off-by: zyang-dev <267119621+zyang-dev@users.noreply.github.com>
Signed-off-by: zyang-dev <267119621+zyang-dev@users.noreply.github.com>
…om/NVIDIA/NemoClaw into fix/windows-docker-wsl-integration
Selective E2E Results — ✅ All requested jobs passedRun: 26554736464
|
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Selective E2E Results — ✅ All requested jobs passedRun: 26555123831
|
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Selective E2E Results — ✅ All requested jobs passedRun: 26555280009
|
Selective E2E Results — ✅ All requested jobs passedRun: 26555411779
|
Summary
Enables Docker Desktop WSL integration automatically in the Windows bootstrap flow. The bootstrap now waits for Ubuntu first-run account creation before touching Docker integration, avoiding WSL/OOBE races that can leave users in a root shell or break Docker’s distro proxy setup.
Changes
Ubuntu-24.04via settings.Type of Change
Verification
npx prek run --all-filespassesnpm testpassesnpm run docsbuilds without warnings (doc changes only)Signed-off-by: zyang-dev 267119621+zyang-dev@users.noreply.github.com
Summary by CodeRabbit
New Features
New UX Guidance
Tests
Chores