feat: split Windows unit tests into per-suite artifacts#5142
Merged
Conversation
Replace monolithic 700MB windows-testing-bundle with per-test-exe derivations. Three-level CI: build gate → upload matrix → test matrix.
- wallet-primitive: include lib/primitive/test/data (TokenQuantity golden) - cardano-balance-tx: include lib/balance-tx/test/data (plutus scripts) - wallet-blackbox-benchmarks: use relative path instead of getDataFileName - wallet-launcher: replace CHOICE/TIMEOUT with powershell Start-Sleep
a1b6532 to
741de77
Compare
ubuntu-20.04 is deprecated, causing all Publish Docs and Auto-Approve Docs runs to hang in queued state since mid-December.
This was referenced Feb 11, 2026
paolino
added a commit
that referenced
this pull request
Feb 11, 2026
…5150) ## Summary - Fix `requireClientAuth` to use `readSignedObject` + `makeCertificateStore` instead of `readCertificateStore` - `readCertificateStore` from `crypton-x509-store` fails on Windows when given a single PEM file, causing the server to reject all client certificates with `CertificateUnknown` - Includes Windows TLS diagnostic workflow for cert store visibility Fixes #5110 ## Test All 6 TLS unit tests pass on Linux: ``` Cardano.Wallet.Application.Tls TLS Client Authentication Can create a TLS default manager [✔] Check security program is available [✔] Can create a TLS manager [✔] Respond to authenticated client if TLS is enabled [✔] Deny client with wrong certificate if TLS is enabled [✔] Properly deny HTTP connection if TLS is enabled [✔] ``` Needs Windows CI validation — will trigger once #5142 merges (re-enables `wallet-application-tls` in Windows CI).
paolino
added a commit
that referenced
this pull request
Feb 11, 2026
## Summary - Add `working-directory: lib/wallet-benchmarks` to the blackbox-benchmarks matrix entry in both `ci.yml` and `macos-unit-tests.yml` - The test reads `test/data/hoogle-pmap.txt` via a relative path, so it must run from the package directory (like other tests with hardcoded relative paths) - Fixes the `cardano-wallet-blackbox-benchmarks` failure on macOS since #5142
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
Replace monolithic 700MB
windows-testing-bundle.nixwith per-test-exe derivations. Three-level CI inwindows.yml: build gate → upload matrix → test matrix (mirrors Linux CI from #5124). Re-enables Windows unit tests that were disabled in #5136.Closes #5107
Changes
nix/windows-test-exe.nix(new) — per-test-exe derivation: one test exe + DLLs + optional extrasnix/windows-testing-bundle.nix(deleted) — replaced by per-test bundlesflake.nix—ci.artifacts.win64.testsis now an attrset of 16 per-test bundles (withtestDataDirsfor suites that need golden files or plutus scripts)windows.yml— three-level CI: build gate (single cross-compile), upload matrix (16 artifacts), test matrix (25 Windows jobs including wallet-unit sub-splits).wallet-application-tlsskipped pending Windows E2E: Haskell TLS fails due to crypton-x509-system not reading Local Machine cert store #5110ci.yml— addworking-directoryforcardano-wallet-blackbox-benchmarksLinux testPmapSpec.hs— use relative path instead ofgetDataFileName(nix store paths don't exist on Windows runners)LauncherSpec.hs— replaceCHOICE/TIMEOUTwithpowershell Start-Sleep(CHOICE/TIMEOUT don't support stdin redirection in GHA)lib/wallet-benchmarks/test/data/hoogle-pmap.txt— test data file for blackbox-benchmarksProof