-
Notifications
You must be signed in to change notification settings - Fork 83
chore(ci): fix vscode test MONGOSH-2422 #2564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes VSCode testing issues by upgrading the Docker environment from Ubuntu 22.04 to 24.04 and properly implementing Node.js version management using NVM.
- Replaced Ubuntu 22.04 Dockerfile with Ubuntu 24.04 version that uses NVM for Node.js installation
- Updated build scripts to use the new Docker image and pass NODE_JS_VERSION as build argument
- Switched from apt-based Node.js installation to NVM-based installation for better version control
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| scripts/docker/ubuntu24.04-xvfb.Dockerfile | New Dockerfile using Ubuntu 24.04 with NVM-based Node.js installation |
| scripts/docker/ubuntu22.04-xvfb.Dockerfile | Removed old Ubuntu 22.04 Dockerfile |
| .evergreen/evergreen.yml.in | Updated build commands to use new Docker image with NODE_JS_VERSION argument |
| .evergreen.yml | Updated generated config with same Docker image changes |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| run_on: ubuntu2004-small | ||
| tags: ["nightly-driver"] | ||
| expansions: | ||
| node_js_version: "20.19.5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is VSCode still on this? I imagine we'd actually want a more recent one that roughly matches what VSCode uses
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VSCode is pretty slow at adopting Node but the latest one is actually now on 22.19.0, so I can try this 👍
f3e0628 to
0659eac
Compare
|
It's green 🥳 will do some follow-ups in VSCode: mongodb-js/vscode#1175 |
This fixes with the VSCode test with: