I am preparing an update to an existing AI Studio Starter app, without publishing it yet. I need to preserve the same app, URL, Firebase project, named Firestore database, and Authentication accounts. I am not requesting any deployment, IAM change, data access, or billing upgrade.
Could the team confirm:
- Does Starter support a custom Node 22 server.js that serves Vite assets and API routes, with dependencies installed from a separate functions/package-lock.json? Does publication invoke npm run build, and preserve generated files outside dist (such as functions/lib/web.cjs and a release-manifest.json)? How can the Node version be selected?
- What is the supported way to set non-secret runtime environment variables, separately from Vite build-time variables?
- Is there a supported build/packaging validation that does not replace the live service or run a preview against the live database?
- What is the supported recovery path if an update fails under Starter? Manage Traffic is disabled in the Cloud Run console. Restoring an editor checkpoint appears to rebuild source, rather than switch traffic back to the previous immutable revision. How can the previous working deployment be retained and restored without unpublishing or recreating the app?
Local builds, synthetic tests, and an encrypted database backup with a local recovery verification are already in place. We need confirmation of the managed platform behavior, not a generic Cloud Run rollback procedure or information about the editor’s internal ais-dev/ais-pre environments.
No credentials, customer data, project identifiers, private URLs, or backups are included in this post.