Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

ci(spacesd): cua-spacesd releases never take the repository's Latest (#6529)

Francesco Bonacci96b18ccd495b
diff --git a/.github/scripts/tests/test_cua_sdk_release_repository.py b/.github/scripts/tests/test_cua_sdk_release_repository.py
index 854164159a..75e810839a 100644
--- a/.github/scripts/tests/test_cua_sdk_release_repository.py
+++ b/.github/scripts/tests/test_cua_sdk_release_repository.py
@@ -303,3 +303,10 @@ def test_release_config_requires_a_stable_tag_to_match_the_app_version(tmp_path:
assert code == 1 and "does not match" in err
for bad_version, bad_repo in (("1.2", "trycua/cua"), ("1.2.3", "trycua"), ("1.2.3", "a/b'c")):
assert release_config(tmp_path, bad_version, bad_repo)[0] == 1
+
+
+def test_spacesd_releases_never_become_latest() -> None:
+ # Only cua-spaces is the repository Latest; a stable cua-spacesd release
+ # took it on 5 Nov 2026.
+ publish = step("cd-cua-spacesd.yml", "release", "Upload to the GitHub release")["run"]
+ assert "FLAGS=(--draft=false --latest=false)" in publish
diff --git a/.github/workflows/cd-cua-spacesd.yml b/.github/workflows/cd-cua-spacesd.yml
index 36184096ee..d817fcbb7f 100644
--- a/.github/workflows/cd-cua-spacesd.yml
+++ b/.github/workflows/cd-cua-spacesd.yml
@@ -513,9 +513,12 @@ jobs:
fi
# Release Please's draft keeps its assets private (downloads 404);
# publish it now that every asset is attached. Staging builds and
- # X.Y.Z-suffix versions are prereleases, never latest.
- FLAGS=(--draft=false)
- [ "$PRERELEASE" = true ] && FLAGS+=(--prerelease --latest=false)
+ # X.Y.Z-suffix versions are prereleases. No cua-spacesd release is
+ # ever the repository's Latest: that is the Cua Spaces app's
+ # (a stable cua-spacesd release took it from cua-spaces-v0.20.0 on
+ # 5 Nov 2026).
+ FLAGS=(--draft=false --latest=false)
+ [ "$PRERELEASE" = true ] && FLAGS+=(--prerelease)
if [ "$CANONICAL" != true ] || grep -q UNSIGNED signing/*.txt; then
label="staging"; [ "$CANONICAL" = true ] && label="test"
# Name the unsigned platforms: "UNSIGNED: windows-x64".