Repository navigation
fix: bundle OpenSSL 3 shared libraries in snap for Copilot SDK runtime - #348621
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🔵 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
Robo (deepak1556)
marked this pull request as ready for review
November 17, 2026 01:32
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: Ladislau Szomoru (@lszomoru)Matched files:
|
Ross Wollman (rwoll)
approved these changes
Nov 17, 2026
Dmitriy Vasyura (dmitrivMS)
approved these changes
Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #347823