Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
fix: validate Driver nightly tags after staging
Francesco Bonacci8d174fe31241
diff --git a/.github/scripts/github_release.py b/.github/scripts/github_release.pyindex 8f454c351b..54518f5eff 100644--- a/.github/scripts/github_release.py+++ b/.github/scripts/github_release.py@@ -149,7 +149,10 @@ def unique_release(api: GitHubApi, repository: str, tag: str) -> dict[str, Any]:def validate_registered_nightly_tag(tag: str) -> None:- registry = release_channels.load_registry()+ # Driver publication runs after its exact nightly version has been staged+ # into the checkout. Tag validation needs registry shape and namespaces,+ # not the stable source-state invariant enforced by planning and builds.+ registry = release_channels.load_registry(require_stable_state=False)matches = []for name, component in registry["components"].items():try:diff --git a/.github/scripts/tests/test_github_release.py b/.github/scripts/tests/test_github_release.pyindex 7dbc12ca41..e0412eeb7d 100644--- a/.github/scripts/tests/test_github_release.py+++ b/.github/scripts/tests/test_github_release.py@@ -225,6 +225,36 @@ def test_nightly_can_create_a_private_draft_at_the_exact_sha():]+def test_nightly_creation_validates_registry_namespaces_after_artifact_staging(+ monkeypatch: pytest.MonkeyPatch,+):+ calls = []++ def fake_registry(*, require_stable_state: bool):+ calls.append(require_stable_state)+ return {+ "components": {+ "cua-driver-rs": {+ "stableTagPrefix": "cua-driver-rs-v",+ "nightlyTagPrefix": "nightly-cua-driver-rs-v",+ }+ }+ }++ monkeypatch.setattr(github_release.release_channels, "load_registry", fake_registry)+ api = FakeApi("a" * 40)+ api.release = None+ ensure_release(+ api,+ "trycua/cua",+ "nightly-cua-driver-rs-v0.19.4-nightly.20260812.42",+ "a" * 40,+ channel="nightly",+ create_if_missing=True,+ )+ assert calls == [False]++def test_stable_and_unregistered_tags_cannot_create_drafts():api = FakeApi("a" * 40)api.release = None