chore(ci): align windows e2e variants with support policy COMPASS-10887 - #8312
Open
ivandevp wants to merge 4 commits into
Open
chore(ci): align windows e2e variants with support policy COMPASS-10887#8312ivandevp wants to merge 4 commits into
ivandevp wants to merge 4 commits into
Conversation
Windows e2e now follows the same shape as the other platforms: the full packaged-app suite on the actively supported version and the time-to-first-query smoke on the minimum. Evergreen has no Windows client images, so Server 2022 covers Windows 11 and Server 2019 (windows-vsCurrent) covers Windows 10. Display names carry both the client target and the image running it. Server 2022 ships no Python of its own, so node-gyp falls back on MinGW's, which lacks ctypes and fails every native build. Install a usable Python at setup until the image provides one.
Anemy
approved these changes
Aug 4, 2026
…OMPASS-10887 The distros do ship Python, just under the toolchain directory rather than at the root, so there is no need to install one. Point node-gyp at whichever is provisioned, preferring the toolchain's selected version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Windows e2e coverage now follows the same shape as the other platforms — full packaged-app suite on the actively supported version,
time-to-first-querysmoke on the minimum:test-packaged-app-windowswindows-2022-largetest-packaged-app-min-windows(new)time-to-first-querysmokewindows-vsCurrent-largeThis also points node-gyp at a specific Python on Windows. node-gyp resolves an interpreter from PATH, and on
windows-2022MinGW's comes first — it is built without_ctypes, so every native module fails at configure withModuleNotFoundError: No module named '_ctypes'. Both distros do ship a usable Python underC:\python\, so theinstallstep now selects one explicitly (preferringC:\python\Current, the version the distro's toolchain selected) and exports it asnpm_config_python.Evergreen patches:
_ctypeserror: https://spruce.corp.mongodb.com/version/6a706b5ec9d3cd0007c91c2aChecklist
Motivation and Context
Follow-up to COMPASS-9087, which added minimum-version smoke coverage for Ubuntu, RHEL and macOS but skipped Windows.
Open Questions
Dependents
Types of changes