feat(cua-sandbox): configure Fleet computer-server port - #2997
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
What changed
server_port: int = 8000to asyncSandbox.create()andSandbox.ephemeral()1through65535, rejecting booleansserverService, readiness probe, exposed-port deduplication, andforward_tunnel()routingservermapping when custom Fleet services are supplied/cmdAPI on the selected portFollow-up to merged #2979.
Verification
Candidate:
6c4d587c2659b52b62e2f2135f60ff86dfda09b0Results:
38 passed, 32 deselected205 passed, 83 skipped, 28 failed, 19 errors, 2 warnings;origin/mainhas the same failure/error/warning counts, so no new broad-suite regression was observedLive Fleet E2E
A temporary unrestricted user key (
scope=[]) ran the publiccua-sandboxSDK againsthttps://run.cua.aiusing:296062593712.dkr.ecr.us-west-2.amazonaws.com/desktop-workspace-duo@sha256:5b9cb82f482834f7541901b87be956e7544d0db13fabc0b372cbc5eca5a74180pr-server-port-duo-e2e-20260809t211821zcpu=4,memory_mb=4096,server_port=8000time_to_start=900,request_timeout=60,telemetry_enabled=FalseObserved results:
serverService targeted port8000.tcpSocket.port = 8000.sandbox.screen.size()returned1024x768.sandbox.shell.run("uname -s")succeeded and returnedLinux.Lifecycle timestamps (UTC):
2026-08-09T21:19:05Z2026-08-09T21:19:35Z2026-08-09T21:21:36ZThe live compatibility E2E therefore passes with an explicit
server_port=8000. Non-defaultserver_port=5000propagation is covered by the focused SDK tests and generated-template assertions. The originally evaluated pinneddesktop-workspaceimage was not suitable for a positive5000live check because it exposed cua-driver MCP on3000and did not run the computer-server/cmdAPI on5000.