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.

fix(fleets): let CLI scale WIF smoke pool (#3034)

r33drichards056ddf2b0dbf
diff --git a/infra/fleets-wif-smoke/README.md b/infra/fleets-wif-smoke/README.md
index 9ca81e2191..d5f4ee7f04 100644
--- a/infra/fleets-wif-smoke/README.md
+++ b/infra/fleets-wif-smoke/README.md
@@ -10,6 +10,6 @@ The apply job uses a dedicated user-owned Fleets key stored as protected reposit
- `FLEETS_TERRAFORM_CLIENT_SECRET`
- `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.
+The pool starts at zero replicas. The daily smoke workflow scales it to one, 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.
diff --git a/infra/fleets-wif-smoke/main.tf b/infra/fleets-wif-smoke/main.tf
index 1519ae28f7..cd257524c8 100644
--- a/infra/fleets-wif-smoke/main.tf
+++ b/infra/fleets-wif-smoke/main.tf
@@ -27,12 +27,6 @@ resource "fleets_pool" "cua_cli_wif_smoke" {
container_disk_image = "296062593712.dkr.ecr.us-west-2.amazonaws.com/desktop-workspace-duo:latest"
readiness_probe_json = jsonencode({ tcpSocket = { port = 8000 } })
- autoscaling {
- min_pool_size = 0
- initial_pool_size = 0
- max_pool_size = 1
- }
-
service {
name = "server"
target_port = 8000