-
Notifications
You must be signed in to change notification settings - Fork 597
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
[Functions] Several functions improvements #6796
Conversation
By relying on the `MediaType` class, we can get more normalized results.
The old code use to throw, which stop any further processing. The change introduced later didn't, causing errors.
- Better code organization to make it easier to know which headers are being set - Process events from the buffer in case there's no empty line at the end
📝 PRs merging into main branchOur main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released. |
Coverage Report 1Affected ProductsTest Logs |
Test Results14 files - 562 14 suites - 562 12s ⏱️ - 18m 54s Results for commit eb44bce. ± Comparison against base commit f9d1802. This pull request removes 3841 tests.
♻️ This comment has been updated with latest results. |
Size Report 1Affected Products
Test Logs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but left a comment
firebase-functions/src/main/java/com/google/firebase/functions/PublisherStream.kt
Outdated
Show resolved
Hide resolved
These improvements are both in the SDK itself, and in the code used for the actual functions running in the cloud during integration testing: A summary of the changes is: - [Backend functions] Update the dependencies and node runtime version - [Backend functions] Add logging in case the client does not support streaming - [SDK] Use a more robust handle of the media type - [SDK] Fix issue introduced in #6773 that missed a return in case of error - [SDK] Other minor code fixes b/404814020
These improvements are both in the SDK itself, and in the code used for the actual functions running in the cloud during integration testing:
A summary of the changes is:
b/404814020