Skip to content

feat: add Windows ARM64 release binaries - #30

Merged
thiennamdinh merged 1 commit into
mainfrom
windows-arm64-ledger-experiment
Jun 25, 2026
Merged

feat: add Windows ARM64 release binaries#30
thiennamdinh merged 1 commit into
mainfrom
windows-arm64-ledger-experiment

Conversation

@thiennamdinh

@thiennamdinh thiennamdinh commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds native Windows ARM64 release builds after validating the target on a focused experiment branch.

  • Add windows-aarch64 to the ledger/journal-sdk release matrix using GitHub's windows-11-arm runner.
  • Add windows-aarch64 to the agent-recorder binary matrix; agent-recorder stays at 0.1.0 because no agent-recorder code or dependency changes were required.
  • Use Visual Studio's ARM64 libclang.dll for Windows ARM64 ledger builds, since Chocolatey LLVM installs an x86_64 libclang.dll on ARM runners.
  • Disable unused default pqcrypto algorithm features in journal to avoid compiling unused PQClean ARM64/NEON C implementations that MSVC rejects.
  • Bump platform/deployment metadata to 1.4.1 and journal-sdk to 1.3.1; update the changelog/docs.

Testing

Local:

  • ~/.cargo/bin/cargo check --manifest-path journal/Cargo.toml --bin ledger
  • cd journal && ~/.cargo/bin/cargo run --bin journal-sdk -- --versionjournal-sdk 1.3.1
  • cd tools/agent-recorder && ~/.cargo/bin/cargo check --bin agent-recorder
  • node scripts/sync-platform-package-versions.js
  • cd docs/info && npm ci && npm run build (passes; existing Pagefind/Node DEP0190 warning remains)

GitHub Actions experiment:

  • Ledger Windows ARM64 Experiment run 28133003614: ledger + journal-sdk Windows ARM64 build passed and uploaded an experimental artifact.
  • Ledger Windows ARM64 Experiment run 28134393954: agent-recorder Windows ARM64 build passed; ledger job was still running at the time of PR prep but the prior ledger-only run had passed.

Fresh branch CI is running and should be checked before merge.

Notes / Risks

  • journal-sdk crate version is bumped to 1.3.1 because the journal crate dependency configuration changed.
  • The platform/ledger release version is 1.4.1.
  • agent-recorder remains 0.1.0; this only adds an additional binary target.
  • The dependency change narrows pqcrypto to no default algorithm features. Current journal code uses crystals-dilithium, not the umbrella pqcrypto algorithm modules.

Summary
- Add Windows ARM64 (`windows-aarch64`) jobs to the ledger/journal-sdk release matrix using the native `windows-11-arm` runner.
- Add Windows ARM64 agent-recorder binary builds using the same native runner while keeping agent-recorder at version 0.1.0.
- Use Visual Studio's ARM64 `libclang.dll` for Windows ARM64 ledger builds; the Chocolatey LLVM package provides x86_64 libclang on ARM runners and cannot be loaded by native ARM64 build scripts.
- Disable unused default `pqcrypto` algorithm features in `journal` so Windows ARM64 builds avoid compiling unused PQClean ARM64/NEON C implementations that MSVC rejects.
- Bump the platform version and deployment metadata to 1.4.1 and document the release in the changelog.

Testing
- `~/.cargo/bin/cargo check --manifest-path journal/Cargo.toml --bin ledger`
- `cd tools/agent-recorder && ~/.cargo/bin/cargo check --bin agent-recorder`
- `node scripts/sync-platform-package-versions.js`
- `cd docs/info && npm ci && npm run build` (passes; existing Pagefind/Node DEP0190 warning remains)
- Experimental GitHub Actions run confirmed Windows ARM64 viability:
  - `build agent-recorder windows-aarch64 experiment`: passed
  - `build ledger windows-aarch64 experiment`: passed in prior run `28133003614`

Notes/Risks
- This adds native Windows ARM64 release artifacts for future `ledger-v*` and `agent-recorder-v*` tags.
- `journal-sdk` crate version remains 1.3.0; `ledger`/platform version becomes 1.4.1.
- `agent-recorder` crate version remains 0.1.0 because no agent-recorder code or dependency changes were required.
@thiennamdinh
thiennamdinh force-pushed the windows-arm64-ledger-experiment branch from 1a525e4 to d7b2d53 Compare June 24, 2026 23:07
@thiennamdinh
thiennamdinh merged commit ed2d6c3 into main Jun 25, 2026
49 of 67 checks passed
@thiennamdinh
thiennamdinh deleted the windows-arm64-ledger-experiment branch June 25, 2026 03:56
@thiennamdinh
thiennamdinh restored the windows-arm64-ledger-experiment branch June 25, 2026 04:04
@thiennamdinh
thiennamdinh deleted the windows-arm64-ledger-experiment branch June 25, 2026 04:38
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