Skip to content

PHPLIB-1930 test server 9.0 - #1953

Merged
kevinAlbs merged 3 commits into
mongodb:v2.xfrom
kevinAlbs:PHPLIB-1930
Aug 13, 2026
Merged

PHPLIB-1930 test server 9.0#1953
kevinAlbs merged 3 commits into
mongodb:v2.xfrom
kevinAlbs:PHPLIB-1930

Conversation

@kevinAlbs

@kevinAlbs kevinAlbs commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

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.

@codecov-commenter

codecov-commenter commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@kevinAlbs
kevinAlbs requested a review from GromNaN August 13, 2026 18:55
@kevinAlbs
kevinAlbs marked this pull request as ready for review August 13, 2026 18:56
@kevinAlbs
kevinAlbs requested a review from a team as a code owner August 13, 2026 18:56

@GromNaN GromNaN left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@kevinAlbs
kevinAlbs merged commit 1706957 into mongodb:v2.x Aug 13, 2026
37 checks passed
@kevinAlbs

Copy link
Copy Markdown
Contributor Author

update the GitHub Action matrix

Updated in #1954

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants