PHPLIB-1930 test server 9.0 - #1953
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Pull request overview
Updates Evergreen’s generated configuration so MongoDB Server 9.0 is treated as a supported test target across the existing task groups and PHP build variants, ensuring it participates in the CI matrix where appropriate (and is excluded from variants intended for older server ranges).
Changes:
- Added 9.0 to the supported MongoDB version list used by the config generator.
- Generated new 9.0 Evergreen test tasks for local, load-balanced, CSFLE, and versioned API testing.
- Updated modern PHP “full” test variants to exclude 9.0 from variants meant to cover only older server versions, leaving 9.0 coverage in the “MongoDB >= 7.0” variants.
Reviewed changes
Copilot reviewed 3 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .evergreen/config/templates/test-variant/modern-php-full.yml | Excludes 9.0 from older-version variant selectors so it runs in the intended (>=7.0) variants. |
| .evergreen/config/generated/test/require-api-version.yml | Adds 9.0 requireApiVersion + acceptApiVersion2 tasks. |
| .evergreen/config/generated/test/local.yml | Adds 9.0 local topology tasks (standalone/replicaset/sharded). |
| .evergreen/config/generated/test/load-balanced.yml | Adds 9.0 load-balanced task. |
| .evergreen/config/generated/test/csfle.yml | Adds 9.0 CSFLE task set (crypt_shared/mongocryptd/no-aws-creds). |
| .evergreen/config/generated/test-variant/modern-php-full.yml | Propagates template selector updates into generated buildvariants for supported PHP versions. |
| .evergreen/config/generate-config.php | Adds 9.0 into the supported MongoDB versions list used for config generation. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
GromNaN
left a comment
There was a problem hiding this comment.
We should also update the GitHub Action matrix to run on MongoDB Server 9. This can be done in a distinct PR since tests pass on evergreen on this PR.
Updated in #1954 |
Summary
Motivation
This was an urgent ask to ensure 9.0 has test coverage.
Evergreen patch: https://spruce.corp.mongodb.com/version/6a7e0e3822cd030007b24174/. Failures of
testResumeAfterOption(example) are also failing against latest servers.