ci: add MongoDB 5 environment test#7806
ci: add MongoDB 5 environment test#7806mtrezza wants to merge 5 commits intoparse-community:release-4.x.xfrom
Conversation
Thanks for opening this pull request!
|
Codecov Report
@@ Coverage Diff @@
## release-4.x.x #7806 +/- ##
================================================
Coverage ? 84.09%
================================================
Files ? 169
Lines ? 12442
Branches ? 0
================================================
Hits ? 10463
Misses ? 1979
Partials ? 0 Continue to review full report at Codecov.
|
|
To fix the failing MongoDB 5 tests, the fix in #7794 needs to ported to here. |
…arse-community#7794) BREAKING CHANGE: The MongoDB GridStore adapter has been removed. By default, Parse Server already uses GridFS, so if you do not manually use the GridStore adapter, you can ignore this change.
|
The "Mongo 4.0.4 ReplicaSet WiredTiger" failure seems to be about "a too-old Node.js version"?
jsdom/whatwg-url#209 (comment) Update: I saw that that update happened in mainline already. |
|
Ah, @mtrezza perhaps this can be rebased on top of latest? |
|
This is based on latest 4.x |
New Pull Request Checklist
Issue Description
Parse Server 4.x is currently on LTS while Parse Server 5.0 is not officially released. MongoDB Atlas is force-upgrading lower cluster tiers to MongoDB 5.0 soon. Parse Server 4.x uses a MongoDB Node.js driver version that is officially incompatible with MongoDB 5.0. This PR adds a test to at run the CI with MongoDB 5 to see whether there are any obvious incompatibilities that should be addressed until Parse Server 5.0 is released.
Related issue: #n/a
Approach
Add MongoDB 5 env to CI tests.
TODOs before merging