Repository navigation
Gracefully close rules runtime on storage emulator stop - #4902
Merged
Merged
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #4902 +/- ##
==========================================
- Coverage 55.92% 55.92% -0.01%
==========================================
Files 322 322
Lines 21706 21709 +3
Branches 4427 4428 +1
==========================================
Hits 12140 12140
- Misses 8501 8504 +3
Partials 1065 1065
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. |
christhompsongoogle
self-requested a review
April 3, 2023 19:03
christhompsongoogle
approved these changes
Apr 3, 2023
tonyjhuang
enabled auto-merge (squash)
April 3, 2023 19:22
|
By removing the endpoint, it is breaking: https://github.com/firebase/firebase-js-sdk/blob/df8604e4dada5874ce0513e3376ded130b6231b4/packages/rules-unit-testing/src/impl/rules.ts#L75 My tests aren't working anymore because of this change. If you intend to keep this change, what would be the alternative? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Prevents the Firebase Rules runtime process exit signal from throwing an Error and preventing data export from happening on emulator stoppage.
Fixes #3799
Removes
/internal/setRulesendpoint since file watching fulfills the same purpose.Scenarios Tested
Sample Commands