-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
refactor: Upgrade pg-promise from 11.3.0 to 11.5.0 #8586
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
Conversation
Thanks for opening this pull request! |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## alpha #8586 +/- ##
=======================================
Coverage 94.33% 94.33%
=======================================
Files 183 183
Lines 14576 14576
=======================================
Hits 13750 13750
Misses 826 826 ☔ View full report in Codecov by Sentry. |
#8511 seems to have consistently failed a test in the suite which can be seen as a failure in multiple postgres versions original PR failure and alpha branch failure with: 1) InstallationsRouter query installations with count = 1
- Expected 0 to equal 2. I've checked the test and it seems like the original way returned an accurate value. Should that PR be reverted until it's fixed as it never passed CI in the first place? cc: @mtrezza @dblythy |
I'm not sure why there's a definitions check failure as I didn't touch any definitions. I ran the line it suggests, but it generates no changes in my local repo to commit. |
I don't see the issue the others have reported (screenshot below, Parse Dashboard v5.1.0, Postgres 15-3.3). The count query used in the Dashboard is intended to be an estimate due to Postgres counting being expensive/slow (the Postgres wiki suggests something similar to the original parse-server implementation for count). It looks like the devs reporting the issue all have small amounts of rows in their tables which can easily be estimated to zero by Postgres. In addition, if a fix is suggested, I believe it should follow the process of any other PR, it should:
![]() I believe the PR should be reverted and the creator of the PR should continue to work on it. Even if a change is made, the adjustments in PR 8511 are still parse-server/spec/InstallationsRouter.spec.js Lines 169 to 203 in 6c5f89a
|
🎉 This change has been released in version 6.1.0-alpha.17 |
🎉 This change has been released in version 6.3.0-beta.1 |
🎉 This change has been released in version 6.3.0-alpha.1 |
🎉 This change has been released in version 6.3.0 |
Pull Request
Issue
The dependencies pg-promise is not up-to-date and the node-postgres driver pg-promise depends on is out-of-date. For some reason, these are not being updated by the dependency bot or the snyk bot
Closes: #8587
Approach
Update the dependencies using
npm i -E [email protected]
.Tasks