Skip to content

Add support for running the emulators in Cloud Workstation #8968

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

maneesht
Copy link
Contributor

If an app is connected to Firebase Studio, then we should use credentials along with each request, to ensure that the auth cookie for the workstation is forwarded to each request in the emulator.

Products Affected:

  • RTDB
  • Data Connect
  • Auth
  • Firestore

Copy link

changeset-bot bot commented Apr 23, 2025

🦋 Changeset detected

Latest commit: b424e58

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 30 packages
Name Type
@firebase/database-compat Patch
@firebase/database Patch
@firebase/firestore Patch
@firebase/app-check Patch
@firebase/auth Patch
@firebase/data-connect Patch
@firebase/storage Patch
@firebase/util Patch
firebase Patch
@firebase/firestore-compat Patch
@firebase/app-check-compat Patch
@firebase/auth-compat Patch
@firebase/storage-compat Patch
@firebase/analytics-compat Patch
@firebase/analytics Patch
@firebase/app-compat Patch
@firebase/app Patch
@firebase/component Patch
@firebase/database-types Patch
@firebase/functions-compat Patch
@firebase/functions Patch
@firebase/installations-compat Patch
@firebase/installations Patch
@firebase/messaging-compat Patch
@firebase/messaging Patch
@firebase/performance-compat Patch
@firebase/performance Patch
@firebase/remote-config-compat Patch
@firebase/remote-config Patch
@firebase/vertexai Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Apr 23, 2025

Changeset File Check ✅

  • No modified packages are missing from the changeset file.
  • No changeset formatting errors detected.

@avolkovi avolkovi changed the title Fix Auth Redirects on Firebase Studio Add support for running in Cloud Workstation Apr 24, 2025
@avolkovi avolkovi changed the title Add support for running in Cloud Workstation Add support for emulators running in Cloud Workstation Apr 24, 2025
@avolkovi avolkovi changed the title Add support for emulators running in Cloud Workstation Add support for running the emulators in Cloud Workstation Apr 24, 2025
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 25, 2025

Size Report 1

Affected Products

  • @firebase/app-check

    TypeBase (20b45d3)Merge (1789046)Diff
    browser26.7 kB26.8 kB+77 B (+0.3%)
    main27.7 kB27.8 kB+63 B (+0.2%)
    module26.7 kB26.8 kB+77 B (+0.3%)
  • @firebase/auth

    TypeBase (20b45d3)Merge (1789046)Diff
    browser193 kB193 kB+121 B (+0.1%)
    cordova166 kB166 kB+121 B (+0.1%)
    main147 kB147 kB+107 B (+0.1%)
    module193 kB193 kB+121 B (+0.1%)
    react-native165 kB165 kB+107 B (+0.1%)
  • @firebase/auth-cordova

    TypeBase (20b45d3)Merge (1789046)Diff
    browser166 kB166 kB+121 B (+0.1%)
    module166 kB166 kB+121 B (+0.1%)
  • @firebase/auth-web-extension

    TypeBase (20b45d3)Merge (1789046)Diff
    browser142 kB142 kB+121 B (+0.1%)
    main159 kB159 kB+109 B (+0.1%)
    module142 kB142 kB+121 B (+0.1%)
  • @firebase/auth/internal

    TypeBase (20b45d3)Merge (1789046)Diff
    browser204 kB204 kB+121 B (+0.1%)
    main173 kB174 kB+109 B (+0.1%)
    module204 kB204 kB+121 B (+0.1%)
  • @firebase/data-connect

    TypeBase (20b45d3)Merge (1789046)Diff
    browser21.4 kB21.6 kB+185 B (+0.9%)
    main23.7 kB23.8 kB+171 B (+0.7%)
    module21.4 kB21.6 kB+185 B (+0.9%)
  • @firebase/database

    TypeBase (20b45d3)Merge (1789046)Diff
    browser249 kB249 kB+146 B (+0.1%)
    main254 kB254 kB+146 B (+0.1%)
    module249 kB249 kB+146 B (+0.1%)
  • @firebase/database-compat/standalone

    TypeBase (20b45d3)Merge (1789046)Diff
    main366 kB366 kB+146 B (+0.0%)
  • @firebase/firestore

    TypeBase (20b45d3)Merge (1789046)Diff
    browser384 kB384 kB+153 B (+0.0%)
    main594 kB594 kB+201 B (+0.0%)
    module384 kB384 kB+153 B (+0.0%)
    react-native384 kB385 kB+153 B (+0.0%)
  • @firebase/firestore-lite

    TypeBase (20b45d3)Merge (1789046)Diff
    browser114 kB114 kB+236 B (+0.2%)
    main157 kB157 kB+359 B (+0.2%)
    module114 kB114 kB+236 B (+0.2%)
    react-native114 kB114 kB+239 B (+0.2%)
  • @firebase/storage

    TypeBase (20b45d3)Merge (1789046)Diff
    browser58.0 kB58.3 kB+313 B (+0.5%)
    main59.4 kB59.8 kB+419 B (+0.7%)
    module58.0 kB58.3 kB+313 B (+0.5%)
  • @firebase/util

    TypeBase (20b45d3)Merge (1789046)Diff
    browser23.3 kB23.4 kB+98 B (+0.4%)
    main29.3 kB29.5 kB+200 B (+0.7%)
    module23.3 kB23.4 kB+98 B (+0.4%)
  • bundle

    41 size changes

    TypeBase (20b45d3)Merge (1789046)Diff
    app-check (CustomProvider)37.8 kB37.9 kB+93 B (+0.2%)
    app-check (ReCaptchaEnterpriseProvider)40.3 kB40.4 kB+93 B (+0.2%)
    app-check (ReCaptchaV3Provider)40.3 kB40.4 kB+93 B (+0.2%)
    auth (Anonymous)77.7 kB77.8 kB+132 B (+0.2%)
    auth (EmailAndPassword)87.8 kB87.9 kB+131 B (+0.1%)
    auth (GoogleFBTwitterGitHubPopup)105 kB105 kB+132 B (+0.1%)
    auth (GooglePopup)102 kB102 kB+131 B (+0.1%)
    auth (GoogleRedirect)102 kB102 kB+131 B (+0.1%)
    auth (Phone)95.2 kB95.3 kB+132 B (+0.1%)
    database (Append to a list of data)150 kB150 kB+114 B (+0.1%)
    database (Filtering data)149 kB149 kB+114 B (+0.1%)
    database (Listen for child events)165 kB165 kB+114 B (+0.1%)
    database (Listen for value events + Detach listeners)165 kB165 kB+114 B (+0.1%)
    database (Listen for value events)165 kB165 kB+114 B (+0.1%)
    database (Read data once)164 kB165 kB+114 B (+0.1%)
    database (Save data as transactions)167 kB167 kB+114 B (+0.1%)
    database (Sort data)150 kB150 kB+114 B (+0.1%)
    database (Write data)149 kB149 kB+114 B (+0.1%)
    firestore (CSI Auto Indexing Disable and Delete)274 kB275 kB+153 B (+0.1%)
    firestore (CSI Auto Indexing Enable)274 kB275 kB+153 B (+0.1%)
    firestore (Persistence)306 kB306 kB+153 B (+0.1%)
    firestore (Query Cursors)251 kB252 kB+153 B (+0.1%)
    firestore (Query)249 kB249 kB+153 B (+0.1%)
    firestore (Read data once)237 kB237 kB+153 B (+0.1%)
    firestore (Read Write w Persistence)330 kB331 kB+153 B (+0.0%)
    firestore (Realtime updates)239 kB239 kB+153 B (+0.1%)
    firestore (Transaction)216 kB216 kB+153 B (+0.1%)
    firestore (Write data)216 kB216 kB+153 B (+0.1%)
    firestore-lite (Query Cursors)104 kB105 kB+258 B (+0.2%)
    firestore-lite (Query)101 kB101 kB+258 B (+0.3%)
    firestore-lite (Read data once)75.9 kB76.2 kB+258 B (+0.3%)
    firestore-lite (Transaction)101 kB102 kB+258 B (+0.3%)
    firestore-lite (Write data)85.5 kB85.8 kB+258 B (+0.3%)
    storage (getBytes)42.4 kB42.7 kB+221 B (+0.5%)
    storage (getDownloadURL)44.5 kB44.7 kB+221 B (+0.5%)
    storage (getMetadata)44.0 kB44.2 kB+221 B (+0.5%)
    storage (list + listAll)43.4 kB43.6 kB+221 B (+0.5%)
    storage (updateMetadata)44.2 kB44.4 kB+221 B (+0.5%)
    storage (uploadBytes)49.1 kB49.3 kB+221 B (+0.5%)
    storage (uploadBytesResumable)59.0 kB59.2 kB+221 B (+0.4%)
    storage (uploadString)49.3 kB49.5 kB+221 B (+0.4%)

  • firebase

    15 size changes

    TypeBase (20b45d3)Merge (1789046)Diff
    firebase-app-check-compat.js22.9 kB23.0 kB+64 B (+0.3%)
    firebase-app-check.js25.3 kB25.4 kB+108 B (+0.4%)
    firebase-auth-compat.js141 kB141 kB+102 B (+0.1%)
    firebase-auth-cordova.js138 kB138 kB+144 B (+0.1%)
    firebase-auth-web-extension.js120 kB121 kB+144 B (+0.1%)
    firebase-auth.js158 kB158 kB+144 B (+0.1%)
    firebase-compat.js797 kB797 kB+558 B (+0.1%)
    firebase-data-connect.js17.9 kB18.1 kB+150 B (+0.8%)
    firebase-database-compat.js164 kB164 kB+106 B (+0.1%)
    firebase-database.js187 kB187 kB+104 B (+0.1%)
    firebase-firestore-compat.js342 kB342 kB+141 B (+0.0%)
    firebase-firestore-lite.js132 kB133 kB+274 B (+0.2%)
    firebase-firestore.js443 kB443 kB+153 B (+0.0%)
    firebase-storage-compat.js39.7 kB39.9 kB+183 B (+0.5%)
    firebase-storage.js46.3 kB46.5 kB+223 B (+0.5%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/OCdvwrbw0i.html

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 25, 2025

Size Analysis Report 1

This report is too large (203,109 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/1cUhLoY6kW.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants