Skip to content

feat(sandbox): add an optional compatible Driver SDK extra - #3678

Merged
f-trycua merged 2 commits into
mainfrom
feat/sandbox-driver-extra
Sep 9, 2026
Merged

feat(sandbox): add an optional compatible Driver SDK extra#3678
f-trycua merged 2 commits into
mainfrom
feat/sandbox-driver-extra

Conversation

@f-trycua

@f-trycua f-trycua commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Sandbox's typed Fleet connection needs the compatible generated Driver SDK. This adds cua-sandbox[driver] with cua-driver==0.25.0, the public-registry lock entries, a packaging regression test, and a short install example. Base dependencies and the Release Please-managed Sandbox version (0.4.3) remain unchanged.

Refs #2512.

Validation on c9cbf88e2c21c33408c409fd6316f26053eeaf2c (Python 3.12, macOS arm64):

  • Built a wheel and sdist; strict Twine checks pass.
  • Fresh base-wheel install imports from the isolated environment without Driver installed: 45 packaging and typed-connection tests pass.
  • Fresh extra install uses public cua-driver==0.25.0, not a locally built Driver candidate. Both modules import from installed wheels. With CUA_SANDBOX_REQUIRE_NATIVE_DRIVER=1, isolated Python and pytest importlib mode: 238 typed-connection, native bridge, pool, transport, lifecycle, and cleanup tests pass, with no skips.
  • uv lock adds only Driver and its optional dependency metadata; all five wheel hashes match the exact Driver release checksums. uv lock --check passes.
  • Ruff lint/format, Black, isort, dependency consistency checks, and git diff --check pass.

The Driver release and its five-platform wheel build/install gates passed in SDK publication. The local Sandbox/native bridge results above qualify the installed macOS package and simulated transport, not a live Fleet guest or Windows/Linux Sandbox extra execution.

Fresh PR CI and independent review remain the merge gates. Once merged, this feeds the Sandbox release PR (#3676); Release Please owns the version. The optional package does not deploy a Driver service or enable a hosted endpoint. Live hosted use still requires a compatible service and separately verified routing/isolation. Existing computer-server paths remain unchanged.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@f-trycua
f-trycua force-pushed the feat/sandbox-driver-extra branch from 55abf5e to c9cbf88 Compare September 9, 2026 07:49
@f-trycua
f-trycua marked this pull request as ready for review September 9, 2026 07:50
@f-trycua
f-trycua requested a review from ddupont808 as a code owner September 9, 2026 07:50
@f-trycua
f-trycua merged commit 80f2dee into main Sep 9, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants