Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
fix(ci): bound the gcp-cloud-run image's bun install so a hang cannot stall it (#4206)
Miguel Ángel2060e13f2d9c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 3a22781df0..a7489c3f14 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -122,7 +122,11 @@ jobs:with:lfs: true- uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3- - uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6+ - name: Build BeginFrame contract image+ # A hung bun install (Dockerfile.test, run 35468046055) would+ # otherwise eat the whole job timeout instead of failing at this step.+ timeout-minutes: 10+ uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6with:context: .file: packages/gcp-cloud-run/Dockerfilediff --git a/packages/gcp-cloud-run/Dockerfile b/packages/gcp-cloud-run/Dockerfileindex 9d4fbb2382..6a7618cc6d 100644--- a/packages/gcp-cloud-run/Dockerfile+++ b/packages/gcp-cloud-run/Dockerfile@@ -98,7 +98,11 @@ COPY packages/sdk/package.json packages/sdk/package.jsonCOPY packages/sdk-playground/package.json packages/sdk-playground/package.jsonCOPY packages/studio-server/package.json packages/studio-server/package.jsonCOPY scripts/package-subpaths.mjs scripts/package-subpaths.mjs-RUN bun install --frozen-lockfile+# A corrupt tarball extraction can print an error and then hang instead of+# exiting (seen in Dockerfile.test, run 35468046055). Bound each attempt and+# retry once, so a prod deploy build fails fast instead of hanging.+RUN timeout 300 bun install --frozen-lockfile \+ || timeout 300 bun install --frozen-lockfile# Fail the image build closed if the packaged executable cannot perform the# same BeginFrame operation the distributed renderer relies on. Generate the