Skip to content

Use Ubuntu base image for devcontainer#8189

Open
joshblack with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-prebuild-failure
Open

Use Ubuntu base image for devcontainer#8189
joshblack with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-prebuild-failure

Conversation

Copilot AI commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

The Codespaces prebuild failed because the legacy TypeScript/Node image does not publish a Node 26 manifest. Use a maintained Ubuntu base and install Node 26.4.0 through the nvm-backed devcontainer feature.

Changelog

New

None.

Changed

  • Use the Ubuntu 24.04 devcontainer base image.
  • Run the container as the base image’s vscode user.

Removed

  • Dependency on mcr.microsoft.com/vscode/devcontainers/typescript-node:26.

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; devcontainer infrastructure only.

Testing & Reviewing

Confirm Codespaces prebuilds resolve the Ubuntu image and provision Node 26.4.0 through nvm.

Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
@changeset-bot

changeset-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 07c4d42

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@joshblack joshblack 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.

@copilot add support for setting up nvm/installing the right node version based on nvmrc

Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>

Copilot AI commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

@copilot add support for setting up nvm/installing the right node version based on nvmrc

Implemented in 07c4d42. The Node feature now installs nvm without a hardcoded Node version, and onCreateCommand runs nvm install so .nvmrc controls the installed version before setup.

Copilot AI requested a review from joshblack July 17, 2026 18:10
Updated Node.js feature version and simplified onCreateCommand.
@joshblack joshblack added skip changeset This change does not need a changelog integration-tests: skipped manually Changes in this PR do not require an integration test labels Jul 17, 2026
@joshblack
joshblack marked this pull request as ready for review July 17, 2026 19:04
@joshblack
joshblack requested a review from a team as a code owner July 17, 2026 19:04
Copilot AI review requested due to automatic review settings July 17, 2026 19:04

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 the repository devcontainer to use a maintained Ubuntu base image and provision Node.js via the official devcontainers Node feature, addressing Codespaces prebuild failures caused by the legacy TypeScript/Node image lacking a Node 26 manifest.

Changes:

  • Switch devcontainer base image to mcr.microsoft.com/devcontainers/base:ubuntu24.04.
  • Run the container as the base image’s vscode user.
  • Use the devcontainers Node feature (ghcr.io/devcontainers/features/node:2.1.0) to install Node 26.4.0.
Show a summary per file
File Description
.devcontainer/devcontainer.json Moves to Ubuntu 24.04 base image, changes default remote user to vscode, and installs Node 26.4.0 via the devcontainers Node feature.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

@joshblack
joshblack enabled auto-merge July 17, 2026 19:10
@joshblack
joshblack requested a review from francinelucca July 17, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: skipped manually Changes in this PR do not require an integration test skip changeset This change does not need a changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants