Skip to content
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

Handle deletion of objects in the storage emulator for the API v1 #5598

Merged
merged 4 commits into from
Apr 6, 2023

Conversation

ybourgery
Copy link
Contributor

Description

The Storage emulator supports the v1 for listing, getting, and creating the objects but not for deleting an object. It prevents the usage of a client library for GCP Cloud Storage (e.g. the one in Go).

@joehan joehan requested a review from tonyjhuang March 21, 2023 18:56
@tonyjhuang tonyjhuang enabled auto-merge (squash) March 29, 2023 21:39
auto-merge was automatically disabled March 30, 2023 06:25

Head branch was pushed to by a user without write access

@tonyjhuang tonyjhuang enabled auto-merge (squash) March 30, 2023 14:42
@codecov-commenter
Copy link

codecov-commenter commented Mar 30, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (38413e0) 55.92% compared to head (a20847a) 55.92%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5598   +/-   ##
=======================================
  Coverage   55.92%   55.92%           
=======================================
  Files         322      322           
  Lines       21706    21706           
  Branches     4427     4427           
=======================================
  Hits        12140    12140           
  Misses       8501     8501           
  Partials     1065     1065           
Impacted Files Coverage Δ
src/emulator/storage/apis/gcloud.ts 5.39% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ybourgery
Copy link
Contributor Author

Hey @tonyjhuang, do I need to increase the test coverage in order for the CR to be merged?

@joehan
Copy link
Contributor

joehan commented Apr 6, 2023

Hey @ybourgery, sorry for the delay on this. For security reasons, we can't run the integration tests on CI for external contributions. I will run them locally, and then merge this once they pass.

Thanks for your contribution!

@joehan
Copy link
Contributor

joehan commented Apr 6, 2023

Ran the integration tests locally for this and they LGTM.

@joehan joehan disabled auto-merge April 6, 2023 20:10
@joehan joehan merged commit b0798fb into firebase:master Apr 6, 2023
ProfHercules pushed a commit to ProfHercules/firebase-tools that referenced this pull request May 5, 2023
…rebase#5598)

* Handle deletion of objects in the storage emulator for the API v1

* Fix linting issues

---------

Co-authored-by: Tony Huang <tony.huang.jun@gmail.com>
Co-authored-by: joehan <joehanley@google.com>
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.

4 participants