Repository navigation
Conversation
Updates the underlying Rust core from libpact_ffi 0.4.27 to 0.5.13, which moves the mock server to pact_mock_server v2 and brings a suite of improvements and bug fixes, including repeated custom headers continuing to match (pact-foundation/pact-reference#602). - Download pact_ffi from the cargo-dist `pact_ffi-v<version>` release: per-target .tar.xz/.zip archives, sha256 verified, with the shared library extracted to the same build/<os>/<arch>/ paths. - Refresh pact metadata to ffi 0.5.13 / models 1.3.18.
…SDK 11 The ubuntu-24.04-arm runner image now ships .NET SDK 11.0.100, which is picked over the setup-dotnet 8.0.x install. SDK 11 generates hot reload browser-tools static web assets for Web SDK projects in Debug, and the build then fails with "scoped css bundles do not have matching endpoints".
- use .NET SDK's own portable runtime identifier, which already distinguishes glibc (linux-x64/arm64) from musl (linux-musl-x64/arm64). - Simplify checksum verification in download-native-libs.sh to plain `sha256sum -c`, which works with both GNU coreutils and BusyBox, removing the ldd-based branch.
YOU54F
force-pushed
the
feat/linux-musl-host-rid
branch
from
November 18, 2026 12:28
abd59e7 to
2210498
Compare
…SDK 11 The ubuntu-24.04-arm runner image now ships .NET SDK 11.0.100, which is picked over the setup-dotnet 8.0.x install. SDK 11 generates hot reload browser-tools static web assets for Web SDK projects in Debug, and the build then fails with "scoped css bundles do not have matching endpoints".
This was referenced Nov 18, 2026
MessagingProvider only retried when the HttpListenerException message was exactly "Address already in use" (glibc wording). musl reports the same errno (98) as "Address in use", so on Alpine a port race failed instead of retrying. Match on the EADDRINUSE error code (Linux/macOS/Winsock), keeping the message as a fallback. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
….x' into feat/linux-musl-host-rid # Conflicts: # build/download-native-libs.sh
libpact_ffi 0.5.13 ships .zip and .tar.xz archives. The mcr.microsoft.com/dotnet/sdk:8.0 (Debian bookworm) image has neither unzip nor xz, so the GNU tar fallback failed on the Windows zip. Install both, and fail with a clear message instead of falling back to a tar that cannot read zip files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Adds support for musl-based Linux distributions (e.g. Alpine) on x64 and arm64.
Changes
libpact_ffi.soare downloaded alongside the existing ones and packed underruntimes/linux-musl-x64/nativeandruntimes/linux-musl-arm64/native. These are the standard .NET RIDs, so the .NET host selects the right library at run time for package consumers, with no detection logic needed in PactNet.runtimes/assets, so the library matching the build machine is still copied to the output directory. This is now driven by a singlePactNetHostRidproperty taken from the SDK's own portable runtime identifier (NETCoreSdkPortableRuntimeIdentifier), which already distinguishes glibc (linux-x64,linux-arm64) from musl (linux-musl-x64,linux-musl-arm64). It replaces the previousIsWindows/IsLinux/IsOSX/IsArm64properties.sha256sum -c, which works with both GNU coreutils and BusyBox.dotnet/sdk:8.0image and Alpine 3.21–3.24 images. macOS runners move tomacos-15/macos-15-intel.Testing
Ran locally on arm64 in
mcr.microsoft.com/dotnet/sdk:8.0andmcr.microsoft.com/dotnet/sdk:8.0-alpine:build/download-native-libs.shverifies and extracts all seven libraries on both.dotnet testpasses on both (203 tests), with the musl library in the test output on Alpine and the glibc library on Debian.PactNetnupkg viaPackageReferenceruns a mock-server interaction and loadsruntimes/linux-musl-arm64/native/libpact_ffi.soon Alpine andruntimes/linux-arm64/native/libpact_ffi.soon Debian.