Skip to content

fix: bundle OpenSSL 3 shared libraries in snap for Copilot SDK runtime - #348621

Merged
Robo (deepak1556) merged 1 commit into
mainfrom
robo/fix_snap_1_146
Nov 17, 2026
Merged

Robo (deepak1556) merged 1 commit into
mainfrom
robo/fix_snap_1_146

Conversation

@deepak1556

Copy link
Copy Markdown
Collaborator

Fixes #347823

@deepak1556 Robo (deepak1556) added this to the 1.148.0 milestone Nov 16, 2026
@deepak1556 Robo (deepak1556) self-assigned this Nov 16, 2026
Copilot AI balanced review requested due to automatic review settings November 16, 2026 18:15

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.

🔵 Needs a closer look

Unavailable prebuilt archives and snap runtime prevent verifying ABI compatibility and actual libcrypto resolution under core20 after OpenSSL relinking and ELF RPATH changes.

No open issues 🎉

What changed in this PR

This PR addresses #347823 by bundling OpenSSL 3 shared libraries with the Linux snap so the Copilot SDK can avoid loading host libraries incompatible with core20’s glibc.

Changes:

  • Downloads prebuilt OpenSSL static archives during snap packaging.
  • Links shared libraries inside the snap build container and places them beside the Copilot SDK runtime.
  • Updates runtime library search paths to use bundled libraries and core20 dependencies.
File Description
resources/​linux/​snap/​snapcraft.yaml Sets library search paths for Copilot runtime binaries and bundled libssl.
build/​azure-pipelines/​linux/​steps/​product-build-linux-package.yml Downloads and extracts OpenSSL archives before snap preparation.
build/​azure-pipelines/​linux/​build-snap.sh Installs GCC and builds bundled OpenSSL 3 shared libraries.

Review effort: Balanced

@deepak1556
Robo (deepak1556) marked this pull request as ready for review November 17, 2026 01:32
@vs-code-engineering

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Ladislau Szomoru (@lszomoru)

Matched files:

  • build/azure-pipelines/linux/build-snap.sh
  • build/azure-pipelines/linux/steps/product-build-linux-package.yml

@deepak1556
Robo (deepak1556) added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit b466519 Nov 17, 2026
52 checks passed
@deepak1556
Robo (deepak1556) deleted the robo/fix_snap_1_146 branch November 17, 2026 05:20
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.

Unable to load your organization's manage

4 participants