-
Notifications
You must be signed in to change notification settings - Fork 370
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
feat!: Align Support for Storage Emulation #2092
Comments
The Go GCS client looks like it had some similar issues in the past. There's a fair bit in that repo if you search issues for The changes there look functionally equivalent to what I proposed in #2070, so I'm wondering if the firebase emulator may already have problems with the Go client? I have no experience with the firebase emulator, so I couldn't say for sure. A thought: as a stepping stone to avoid a "hard break", might it be useful to temporarily permit a second environment variable indicating how to interpret |
Friendly check-in to see if there's any progress on decisions for how this might move forwards? |
@mgabeler-lee-6rs hey, thanks for the inquiry; we plan to sync with peer teams on this and other issues over the next few months. |
Just checking in on status and confirming that this is still of interest. |
@mgabeler-lee-6rs We have alignment between teams and we're likely to resolve this in the current quarter. |
Obviously missed Q2, Q3 maybe? :) |
@mgabeler-lee-6rs yea, I’m aiming for this half :) |
Update: we had a few other high priority features to take care of; however we still have this as a key item to get to shortly. |
Today,
baseUrl
is equivalent to theSTORAGE_EMULATOR_HOST
, when available. This leads to limitations when using the client. Here's the relevant code snippet:nodejs-storage/src/storage.ts
Lines 650 to 668 in 1447269
Ideally,
STORAGE_EMULATOR_HOST
should only be a host (without any path associations, e.g.http://localhost:9199
) while the client calls the appropriate path on the host (e.g./storage/v1
). That implementation should look something like this: c75b8b8This requires coordination with Firebase and updates to Firebase Storage Emulator. Additionally, we should explore practices to ensure reliability and a consistent experience between Firebase and Google Cloud Storage (e.g. code consolidation and integration testing).
Related:
apiEndpoint
#2400Background:
The text was updated successfully, but these errors were encountered: