Skip to content

Conversation

@gagik
Copy link
Contributor

@gagik gagik commented Nov 3, 2025

This fixes with the VSCode test with:

@gagik gagik requested a review from a team as a code owner November 3, 2025 11:57
Copilot AI review requested due to automatic review settings November 3, 2025 11:57
Copy link

Copilot AI left a 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.

@gagik gagik changed the title chore(ci): fix vscode test chore(ci): fix vscode test MONGOSH-2422 Nov 3, 2025
@gagik gagik marked this pull request as draft November 3, 2025 12:18
run_on: ubuntu2004-small
tags: ["nightly-driver"]
expansions:
node_js_version: "20.19.5"
Copy link
Collaborator

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

Copy link
Contributor Author

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 👍

@gagik
Copy link
Contributor Author

gagik commented Nov 4, 2025

It's green 🥳 will do some follow-ups in VSCode: mongodb-js/vscode#1175

@gagik gagik marked this pull request as ready for review November 4, 2025 10:58
@gagik gagik merged commit cee52f9 into main Nov 4, 2025
60 of 62 checks passed
@gagik gagik deleted the gagik/fix-vscode branch November 4, 2025 10:58
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