AI Studio Publish/Republish broken for existing app – wrong Cloud project selected

I have an existing Google AI Studio app that is already published and currently working correctly.

The problem is that AI Studio no longer offers the normal Republish flow. When I try to publish the latest version, the new Publish wizard selects a different/default Google Cloud project and treats the app as a new deployment.

If I try to switch back to the original Google Cloud project, AI Studio shows:

“This project is locked because it is already attached to this applet.”

So AI Studio clearly knows that the original project is already attached to the applet, but the Publish wizard still uses a different project and does not allow me to select the correct one.

Another important detail: if I open the existing Cloud Run service and click “Edit in AI Studio”, it correctly opens the same AI Studio app with my latest unpublished changes.

This looks like the internal Publish/Republish association is broken.

I have already submitted a feedback report through AI Studio.

Is there a way to restore the original Publish/Republish connection so that new versions can again be deployed to the existing Cloud Run service and existing .ai.studio URL?

up! I have the same problem, im not sure whats happening, I tried to delete all API keys and created a new one, still the same.

I am experiencing the same issue with an existing production app.

My AI Studio app is already deployed and working in a Google-managed Starter Tier project.

The Publish/Republish association appears to have been lost. The Publish panel now locks the app to a different and empty project:

  • gen-lang-client-0150695..
  • Display name: Default Gemini Project

It also displays:
“This project is locked because it is required by Firestore.”

The application source, Firebase Web SDK and Firebase Admin SDK all point to another projetc. There is no source-code reference to gen-lang-client-0150695134.

I cannot safely unpublish the existing app because it is currently used in production and I need to preserve its Cloud Run service, URL, Firebase Authentication and Firestore data.

Could the AI Studio team please restore the existing Applet-to-Cloud-Run deployment association?

I have the same issue.

Existing app: STONEX CRM

Existing URL: stonex-crm.ai.studio

Applet ID:

a1041fa3-e5ae-4fbf-b966-fec880405d3e

A previous Republish attempt ran for about 60 minutes and ended with “Failed to publish app”.

The current AI Studio Preview has the latest changes, including Monthly Business Summary, Monthly Expense Trend, Monthly Collections Trend and Monthly Item Expense Summary.

However, the existing published URL still serves the older version.

Now clicking Republish opens the “Publish your app” Step 1 / Step 2 wizard instead of updating the existing app, and it suggests a new URL such as stonex-crm-1.ai.studio.

I want to keep the existing app, existing URL and Firestore data.

Could the AI Studio team please check the Applet ID and restore the existing Republish/deployment association?

I can provide screenshots and Cloud Run details if required.

Update: My forum account is now approved and no longer on hold, but I still have no response to this deployment issue.

The existing STONEX CRM app is still working at stonex-crm.ai.studio, but it continues to serve the old frontend. The current AI Studio Preview contains the verified latest build.

The main issue remains that Republish opens the new-app wizard instead of updating the existing published deployment.

Could the AI Studio team please check the existing Applet ID and advise how to restore the Republish/deployment association?

Applet ID: a1041fa3-e5ae-4fbf-b966-fec880405d..

Hello,

Could you please try re-deploying your application, and if you are still experiencing an error, please share a screenshot via direct message?