Skip to content

DRIVERS-3658, DRIVERS-3626: Fix Windows CI variants - #855

Merged
blink1073 merged 3 commits into
mongodb-labs:masterfrom
blink1073:DRIVERS-3658
Sep 24, 2026
Merged

blink1073 merged 3 commits into
mongodb-labs:masterfrom
blink1073:DRIVERS-3658

Conversation

@blink1073

@blink1073 blink1073 commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

DRIVERS-3658, DRIVERS-3626

Summary

Windows CI is failing for two independent reasons: MongoDB 8.3+ (what latest-stable resolves to) cannot run on the tests-windows-vsCurrent image (Windows Server 2019), and DRIVERS-3626 (#834) left test-install-binaries failing on every Windows variant because uv python find emits a backslash path that bash cannot exec.

Changes in this PR

  • Pin tests-windows-vsCurrent to MongoDB 7.0 via a MONGODB_VERSION expansion, passed through to the runner test.
  • Honor that pin in test-mongodb-runner.sh's explicit latest-stable invocation (${MONGODB_VERSION:-latest-stable}).
  • Convert uv python find output to a bash-executable path on Cygwin hosts in test-install-binaries.sh.

Test Plan

  • Evergreen patch: tests-windows-vsCurrent and tests-windows-2022-latest tasks pass; vsCurrent logs show 7.0 downloads, and test-install-binaries gets past the mongodb-runner support check.

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.

Copilot review overview

🟡 Changes recommended

The explicit latest-stable invocation bypasses the MongoDB 7.0 pin and leaves the reported failure unresolved.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 1 High severity

Open (1)
What changed in this PR

Pins MongoDB runner tests on Windows Server 2019 to MongoDB 7.0 while preserving latest-version coverage elsewhere.

Changes:

  • Adds MONGODB_VERSION: "7.0" to tests-windows-vsCurrent.
  • Passes the expansion into partial runner tests.
  • An explicit latest-stable invocation still bypasses the pin.
File Review
.evergreen/​config.yml Critical: Update the explicit latest-stable test invocation to honor the pinned expansion; otherwise MongoDB 8.3+ may still run on Windows Server 2019.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .evergreen/config.yml Resolved

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.

Copilot review overview

🟢 Approval recommended

The focused configuration change has no unresolved issues.

Review effort: Balanced
Findings: None

Resolved since last review (1)

…3626)

uv emits a native Windows path with backslashes, which bash on a Cygwin
host cannot exec, so test-install-binaries failed with exit 127 when
running the mongodb-runner support check on Windows.
@blink1073 blink1073 changed the title DRIVERS-3658: Limit tests-windows-vsCurrent to MongoDB 7.0 DRIVERS-3658, DRIVERS-3626: Fix Windows CI variants Sep 24, 2026
@blink1073
blink1073 requested a balanced review from Copilot September 24, 2026 12:31

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.

Copilot review overview

🟢 Approval recommended

All reviewed changes are focused and no unresolved issues remain.

Review effort: Balanced
Findings: None

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.

Copilot review overview

🟢 Approval recommended

All reviewed changes are focused, validated, and have no unresolved issues.

Review effort: Balanced
Findings: None

@blink1073
blink1073 marked this pull request as ready for review September 24, 2026 13:24
@blink1073
blink1073 requested a review from a team as a code owner September 24, 2026 13:24
@blink1073
blink1073 requested a review from papafe September 24, 2026 13:24

@PavelSafronov PavelSafronov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Changes look good, approving.

@blink1073
blink1073 merged commit 5ac5141 into mongodb-labs:master Sep 24, 2026
79 checks passed
@blink1073
blink1073 deleted the DRIVERS-3658 branch September 24, 2026 17:55
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.

3 participants