Skip to content

test: windows arm64 (#44) on musl host-rid + libpact_ffi 0.5.13 - #46

Draft
YOU54F wants to merge 6 commits into
masterfrom
test/windows-arm64-ffi-0.5.13
Draft

YOU54F wants to merge 6 commits into
masterfrom
test/windows-arm64-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 #44 on the musl host-rid test branch (#43 + pact-foundation#569).

  • win-arm64 dll from pact_ffi-aarch64-pc-windows-msvc.zip (0.5.13)
  • copy-to-output keyed off PactNetHostRid == win-arm64 instead of IsWindows/IsArm64
  • README support table merged with musl rows

Key thing to check here: the windows-11-arm job.

🤖 Generated with Claude Code

YOU54F and others added 6 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.
    - download pact_ffi-windows-aarch64.dll from libpact_ffi v0.4.27
    - pack it under runtimes/win-arm64/native so the .NET host picks it on Windows on ARM
    - copy the arm64 dll to the output dir for in-repo builds on arm64 Windows hosts
    - .NET Framework targets: use win-arm64 when PlatformTarget is ARM64, otherwise win-x64
    - CI: build and test on the windows-11-arm runner
    - docs: list Windows ARM64 as supported
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>
(cherry picked from commit ba7612b)
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>
(cherry picked from commit e1dd3c5)
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