Deployment Error: "Corrupted source archive" when publishing from AI Studio Build to Cloud Run

Hi everyone,

I am experiencing a persistent issue when trying to publish my application from the Google AI Studio Build platform to Cloud Run.

The Problem:
Every time I attempt to deploy, the build fails with the following error:
corrupted source archive

Context:

  • Platform: Google AI Studio Build (https://ai.studio/build)

  • Target: Cloud Run

  • Workflow: Using the built-in “Publish” / “Deploy” feature within the AI Studio interface.

What I’ve done so far:
I reached out to Google Cloud Support (Cloud Run team), and after an internal investigation, they provided the following feedback:

“The ‘corrupted archive’ error indicates the ZIP file AI Studio provides to Cloud Run is invalid which can be due to internal state issues, bugs in the packaging logic, or how entry points are defined for the build.”

They suggested that since this involves the automated packaging logic of the AI Studio Build platform itself, I should report it here.

Request:
Is this a known issue with the AI Studio packaging logic? Are there specific project structures or file sizes that might be causing the ZIP file to become invalid during the automated build process?

Any guidance on how to resolve this or if this is a platform bug currently being tracked would be greatly appreciated.

Thank you!