Skip to content

test: musl host-rid (#43) on libpact_ffi 0.5.13 (#569) - #45

Draft
YOU54F wants to merge 5 commits into
masterfrom
test/musl-host-rid-ffi-0.5.13
Draft

YOU54F wants to merge 5 commits into
masterfrom
test/musl-host-rid-ffi-0.5.13

Conversation

@YOU54F

@YOU54F YOU54F commented Nov 18, 2026

Copy link
Copy Markdown
Owner

CI validation only, not intended to merge.

Stacks #43 (PactNetHostRid + linux-musl-x64/arm64) on top of pact-foundation#569 (libpact_ffi 0.5.13, cargo-dist archives).

  • musl libs downloaded from pact_ffi-{x86_64,aarch64}-unknown-linux-musl.tar.xz
  • Linux checksum: strip blank lines, then plain sha256sum -c (GNU + BusyBox)

Locally verified: macOS arm64, Debian arm64/x64, Alpine arm64/x64 — 203/203 tests each, correct glibc/musl lib loaded.

🤖 Generated with Claude Code

YOU54F and others added 5 commits November 13, 2026 17:52
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.
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>
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>
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.

1 participant