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(ci): publish Cua Driver SDKs when post-publish bookkeeping fails (#6680)
Francesco Bonacci6c9e6e9cc8c4
diff --git a/.github/workflows/cd-py-cua-driver.yml b/.github/workflows/cd-py-cua-driver.ymlindex 4aa6bb4014..819aeff025 100644--- a/.github/workflows/cd-py-cua-driver.yml+++ b/.github/workflows/cd-py-cua-driver.yml@@ -35,7 +35,12 @@ jobs:runs-on: ubuntu-latestif: |github.event_name == 'workflow_dispatch' ||- github.event.workflow_run.conclusion == 'success'+ github.event.workflow_run.conclusion == 'success' ||+ github.event.workflow_run.conclusion == 'failure'+ # A failed post-publish bookkeeping job (installer bump PR) marks the CD run+ # failed even though the release is published. The published-release check+ # below still gates every publish, so a failed run with no published+ # release stays a no-op.outputs:version: ${{ steps.version.outputs.version }}tag: ${{ steps.version.outputs.tag }}diff --git a/.github/workflows/cd-rust-cua-driver.yml b/.github/workflows/cd-rust-cua-driver.ymlindex 4e0d4e6dfa..b42820aadc 100644--- a/.github/workflows/cd-rust-cua-driver.yml+++ b/.github/workflows/cd-rust-cua-driver.yml@@ -1824,6 +1824,12 @@ jobs:# Wait for the required checks, then merge. Repository auto-merge# is off, so merge explicitly once they pass.+ # Checks register a few seconds after the PR opens; `gh pr checks`+ # fails at once with "no checks reported" before then.+ for _ in $(seq 1 30); do+ [ "$(gh pr view "$PR_URL" --json statusCheckRollup -q '.statusCheckRollup|length')" -gt 0 ] && break+ sleep 10+ doneif timeout 40m gh pr checks "$PR_URL" --required --watch --fail-fast \&& gh pr merge "$PR_URL" --squash --delete-branch; thenecho "Public installers now advertise ${VERSION}."