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(fleets): recover pool ownership before WIF policy (#3026)
r33drichards6e0c14932739
diff --git a/.github/workflows/infra-fleets-wif-smoke.yml b/.github/workflows/infra-fleets-wif-smoke.ymlindex 2a20cc79d3..ed07597254 100644--- a/.github/workflows/infra-fleets-wif-smoke.yml+++ b/.github/workflows/infra-fleets-wif-smoke.yml@@ -2,6 +2,12 @@ name: "Infra: Fleets WIF smoke pool"on:workflow_dispatch:+ inputs:+ recreate_pool:+ description: "Recreate a pool that was previously owned by different credentials"+ required: false+ default: false+ type: booleanpermissions:contents: read@@ -17,6 +23,9 @@ env:CYCLOPS_CLIENT_ID: ${{ secrets.FLEETS_TERRAFORM_CLIENT_ID }}CYCLOPS_CLIENT_SECRET: ${{ secrets.FLEETS_TERRAFORM_CLIENT_SECRET }}CYCLOPS_TOKEN_URL: ${{ secrets.FLEETS_TERRAFORM_TOKEN_URL }}+ POOL_BOOTSTRAP_CLIENT_ID: ${{ secrets.CUA_CLIENT_ID }}+ POOL_BOOTSTRAP_CLIENT_SECRET: ${{ secrets.CUA_CLIENT_SECRET }}+ POOL_BOOTSTRAP_TOKEN_URL: https://auth.cua.ai/realms/cyclops-cs/protocol/openid-connect/tokenFLEETS_PROVIDER_COMMIT: d118faeafd288150d574c471a1038b3f3aef7c71FLEETS_PROVIDER_VERSION: 1.0.0TF_IN_AUTOMATION: "true"@@ -90,5 +99,12 @@ jobs:run: |terraform init -input=falseterraform validate+ if [ "${{ inputs.recreate_pool }}" = "true" ]; then+ CYCLOPS_CLIENT_ID="$POOL_BOOTSTRAP_CLIENT_ID" \+ CYCLOPS_CLIENT_SECRET="$POOL_BOOTSTRAP_CLIENT_SECRET" \+ CYCLOPS_TOKEN_URL="$POOL_BOOTSTRAP_TOKEN_URL" \+ terraform destroy -input=false -auto-approve \+ -target=fleets_pool.cua_cli_wif_smoke+ fiterraform plan -input=false -out=tfplanterraform apply -input=false -auto-approve tfplandiff --git a/infra/fleets-wif-smoke/README.md b/infra/fleets-wif-smoke/README.mdindex c4f4b7b00b..9ca81e2191 100644--- a/infra/fleets-wif-smoke/README.md+++ b/infra/fleets-wif-smoke/README.md@@ -11,3 +11,5 @@ The apply job uses a dedicated user-owned Fleets key stored as protected reposit- `FLEETS_TERRAFORM_TOKEN_URL`The pool autoscaler is bounded from zero to one replica. The daily smoke workflow claims a UUID-suffixed sandbox, runs commands through `cua sb exec`, deletes the claim, and suspends the pool back to zero replicas.++If the pool was previously created with different credentials, manually dispatch the apply workflow once with `recreate_pool` enabled. The recovery deletes only the managed pool with the original bootstrap credentials, then recreates the pool and trust policy under the dedicated owner key.