FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: add timeout to firebase db connection attempt by mctavish · Pull Request #1132 · googleapis/cloud-debug-nodejs · GitHub

This repository was archived by the owner on Apr 3, 2024. It is now read-only.

fix: add timeout to firebase db connection attempt - #1132

Merged
gcf-merge-on-green[bot] merged 1 commit into
googleapis:mainfrom
mctavish:firebase-timeouts
Jan 16, 2023
Merged

fix: add timeout to firebase db connection attempt#1132
gcf-merge-on-green[bot] merged 1 commit into
googleapis:mainfrom
mctavish:firebase-timeouts

Conversation

Copy link
Copy Markdown
Contributor

Firebase database reads/writes can hang indefinitely if there is an issue with the credentials or with the database url.

Fixing firebase/firebase-admin-node#2004 will address this issue, but until then this PR adds a timeout to ensure that errors are emitted.

product-auto-label Bot added size: m Pull request size is medium. api: clouddebugger Issues related to the googleapis/cloud-debug-nodejs API. labels Jan 16, 2023
mctavish marked this pull request as ready for review January 16, 2023 21:55
mctavish requested review from a team and jasonborg January 16, 2023 21:55

codecov Bot commented Jan 16, 2023
edited
Loading

Copy link
Copy Markdown

Codecov Report

Base: 65.88% // Head: 65.68% // Decreases project coverage by -0.20% ⚠️

Coverage data is based on head (664ecc9) compared to base (afe9f53).
Patch coverage: 4.54% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1132      +/-   ##
==========================================
- Coverage   65.88%   65.68%   -0.21%     
==========================================
  Files          21       21              
  Lines        1791     1798       +7     
  Branches      355      355              
==========================================
+ Hits         1180     1181       +1     
- Misses        524      530       +6     
  Partials       87       87              
Impacted Files Coverage Δ
src/agent/firebase-controller.ts 65.83% <4.54%> (-3.20%) ⬇️

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 at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

mctavish added automerge Merge the pull request once unit tests and other checks pass. owlbot:run Add this label to trigger the Owlbot post processor. labels Jan 16, 2023
gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jan 16, 2023
gcf-merge-on-green Bot merged commit 8cd89c8 into googleapis:main Jan 16, 2023
gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jan 16, 2023
mctavish deleted the firebase-timeouts branch January 17, 2023 20:21
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: clouddebugger Issues related to the googleapis/cloud-debug-nodejs API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL