feat: support managed AWS Windows WSL2#23
Merged
Conversation
4ce34f9 to
5e9d465
Compare
This was referenced May 7, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
target=windows windowsMode=wsl2leasesCpuOptions.NestedVirtualization=enabledVerification
go test ./internal/cli -run 'TestAWSUserDataWindows|TestValidateProviderTarget|TestApplyServerTypeFlagOverrides|TestApplyAWSRunInstanceTargetOptions|TestAWSLaunchCandidates|TestWSL2WrapsRemoteCommand|TestVersion|TestLoadConfigReadsTargetAndWindowsMode'npm test --prefix worker -- aws.test.ts config.test.tsgo test ./...go vet ./...npm run format:check --prefix worker && npm run lint --prefix worker && npm run check --prefix worker && npm test --prefix worker && npm run build --prefix workergit diff --checkLive probe
0.5.1-local.aws-wsl2.bin/crabbox run --provider aws --target windows --windows-mode wsl2 --class standard --market spot --ttl 60m --idle-timeout 15m --timing-json --shell -- 'printf "aws_wsl2_managed_ok=1\n"; uname -a; cat /etc/os-release | head -5; git --version; rsync --version | head -1'preferred_type=m8i.large, but the deployed Worker still returnsunsupported target for brokered aws: windows. This PR needs the Worker deployed before the managed WSL2 path can be fully proven live.Deploy note
This shell is not authenticated to Cloudflare Wrangler (
wrangler whoamisays to runwrangler login), so I could not deploy the broker from here.