Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(longcat): stop the build provisioning its own Artifact Registry repository

nirholasf682943495c1
diff --git a/workers/longcat/README.md b/workers/longcat/README.md
index 20b58dcde..ca50b6711 100644
--- a/workers/longcat/README.md
+++ b/workers/longcat/README.md
@@ -261,9 +261,17 @@ openssl rand -hex 32 | tr -d '\n' | \
gcloud firestore databases create --location=us-central1
```
-The Artifact Registry repository is created by the build itself. Output MP4s go
-to `three-ws-avatar-reconstructions`, the bucket the other model workers already
-use, under the `avatar-videos/` prefix; no new bucket is needed. Weights go to
+```bash
+# Artifact Registry repository (created 2026-08-11; kept out of cloudbuild.yaml
+# because three-ws-build@ has no artifactregistry.repositories.create permission)
+gcloud artifacts repositories create longcat-video-avatar \
+ --repository-format=docker --location us-central1 \
+ --project aerial-vehicle-466722-p5 \
+ --description="LongCat-Video-Avatar-1.5 talking-avatar worker"
+```
+
+Output MP4s go to `three-ws-avatar-reconstructions`, the bucket the other model
+workers already use, under the `avatar-videos/` prefix; no new bucket is needed. Weights go to
`three-ws-model-weights` under `longcat/`, which is the same shared bucket the
rig, text2motion and TripoSG workers mount.
diff --git a/workers/longcat/cloudbuild.yaml b/workers/longcat/cloudbuild.yaml
index 27c7a46ba..0518924ad 100644
--- a/workers/longcat/cloudbuild.yaml
+++ b/workers/longcat/cloudbuild.yaml
@@ -21,7 +21,8 @@
# _REGION Artifact Registry / build region (default: us-central1)
# _REPO Artifact Registry repository name (default: longcat-video-avatar)
#
-# Manual submit (SHORT_SHA is only populated for trigger builds):
+# Manual submit (SHORT_SHA is only populated for trigger builds, and an empty tag
+# fails the push):
# gcloud builds submit --config workers/longcat/cloudbuild.yaml \
# --region us-central1 --project aerial-vehicle-466722-p5 \
# --substitutions=SHORT_SHA=manual$(date +%s)
@@ -35,26 +36,12 @@ substitutions:
_REGION: us-central1
_REPO: longcat-video-avatar
-steps:
- # ── Ensure the Artifact Registry repository exists ──────────────────────────
- # Idempotent, so a first build in a fresh project does not fail at the push
- # step with "repository not found".
- - id: ensure-repo
- name: gcr.io/google.com/cloudsdktool/cloud-sdk:slim
- entrypoint: bash
- args:
- - -c
- - |
- set -euo pipefail
- if ! gcloud artifacts repositories describe "${_REPO}" \
- --location "${_REGION}" --project "$PROJECT_ID" >/dev/null 2>&1; then
- gcloud artifacts repositories create "${_REPO}" \
- --repository-format=docker \
- --location "${_REGION}" \
- --project "$PROJECT_ID" \
- --description="LongCat-Video-Avatar-1.5 talking-avatar worker"
- fi
+# The Artifact Registry repository is a one-time prerequisite, not a build step:
+# three-ws-build@ deliberately lacks artifactregistry.repositories.create, so a
+# self-provisioning step fails the build before it starts. Created on 2026-08-11;
+# the command is in README.md under "Prerequisites for a first deploy".
+steps:
# ── Build ──────────────────────────────────────────────────────────────────
# The Dockerfile runs the worker's three test suites as build gates, so a
# green build here also means the unit tests passed.