Skip to content

Snap package fixes and improvements#298237

Draft
dmitrivMS wants to merge 14 commits intomainfrom
dev/dmitriv/build-snap-arm64
Draft

Snap package fixes and improvements#298237
dmitrivMS wants to merge 14 commits intomainfrom
dev/dmitriv/build-snap-arm64

Conversation

@dmitrivMS
Copy link
Copy Markdown
Contributor

@dmitrivMS dmitrivMS commented Feb 27, 2026

Fixes #93046
Fixes #117685
Fixes #125120
Fixes #241174
Fixes #241636
Fixes #269552

Changes
Enabled building Snap package for arm64.
Upgraded Snap to core22 base.
Register VS Code with update-alternatives.

@dmitrivMS dmitrivMS added this to the March 2026 milestone Feb 27, 2026
@dmitrivMS dmitrivMS self-assigned this Feb 27, 2026
@dmitrivMS dmitrivMS added the snap Issues related to the snap package label Feb 27, 2026
Copilot AI review requested due to automatic review settings February 27, 2026 12:14
Copy link
Copy Markdown
Contributor

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 adds ARM64 support to VS Code Snap packages by updating the build infrastructure, snapcraft configuration, and Azure CI/CD pipelines. The changes address long-standing feature requests (#125120, #269552) for ARM64 snap packages on Linux systems.

Changes:

  • Updated snapcraft.yaml to support multi-architecture builds (x64 and arm64) and upgraded from Ubuntu 20.04 (core20) to 24.04 (core24) base
  • Modified build scripts to generate architecture-specific snapcraft configurations with appropriate multiarch library paths
  • Extended Azure pipeline to build and publish ARM64 snap packages alongside existing x64 packages

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
resources/linux/snap/snapcraft.yaml Added architecture template variables, upgraded to core24 base, updated dependencies and library paths for multiarch support
build/gulpfile.vscode.linux.ts Added BUILD_ARCHITECTURE and DEB_ARCHITECTURE template variable replacements for architecture-specific snap builds
build/azure-pipelines/product-build.yml Propagated VSCODE_BUILD_LINUX_SNAP parameter to arm64 build job
build/azure-pipelines/linux/steps/product-build-linux-compile.yml Extended snap build condition to include arm64 architecture and updated docker image reference to be architecture-specific

Copy link
Copy Markdown

@tharthar1010 tharthar1010 left a comment

Choose a reason for hiding this comment

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

Hi
Help
Good 👍

@dmitrivMS dmitrivMS added linux Issues with VS Code on Linux engineering VS Code - Build / issue tracking / etc. labels Feb 28, 2026
@dmitrivMS dmitrivMS changed the title Add Snap ARM64 support Add Snap ARM64 support, switch to core24 Feb 28, 2026
@dmitrivMS dmitrivMS changed the title Add Snap ARM64 support, switch to core24 Add Snap ARM64 support, switch to core22 Mar 1, 2026
@dmitrivMS dmitrivMS changed the title Add Snap ARM64 support, switch to core22 Snap package fixes and improvements Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engineering VS Code - Build / issue tracking / etc. linux Issues with VS Code on Linux snap Issues related to the snap package

Projects

None yet

4 participants