AI Studio Preview Container Keeps Using Old DATABASE_URL After Secret Update and Dev Server Restarts

Hello Google AI Studio Team,

I need assistance with a persistent server-side
secret synchronization issue in my private
Google AI Studio Build app.

App ID:
a03c7754-891d-441b-a529-05dd7295b3c0

Issue:
I updated the DATABASE_URL secret in the
AI Studio Secrets panel. The new username is
needwork_app_user_login.

However, the running Preview Node.js process
continues receiving the old username:
needwork_staging_app.

Verified diagnostics:
Expected username: needwork_app_user_login
Actual process environment username: needwork_staging_app
PostgreSQL current_user: needwork_staging_app
Database: needwork_staging
PostgreSQL version: 18.7

I have already:

  1. Updated DATABASE_URL in AI Studio Secrets.
  2. Applied the changes.
  3. Restarted the Preview Node.js server twice
    using restart_dev_server.
  4. Verified the new process IDs.
  5. Confirmed that the new process still receives
    the old DATABASE_URL username.

The other four dedicated database pools
(Approval, Payment, Ledger and Dispute)
authenticate correctly.

Request:
Please help refresh or recreate the complete
private DEV Preview sandbox/container so that
the latest saved server-side Secrets are
injected into the Node.js runtime.

Please preserve:

  • Existing project and App ID
  • All source files and code changes
  • All saved AI Studio Secrets
  • Existing Owner WebAuthn enrollment and passkey
  • Existing Neon database, roles, permissions
    and data

Please do not publish, deploy, make the app
public, reset the database, or modify the
production environment.

Thank you.