Skip to content

Add Java linuxmusl-arm64 native runtime support - #2728

Draft
edburns with Copilot wants to merge 2 commits into
mainfrom
copilot/add-linuxmusl-arm64-support
Draft

edburns with Copilot wants to merge 2 commits into
mainfrom
copilot/add-linuxmusl-arm64-support

Conversation

Copilot AI commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Adds Java native runtime packaging, testing, and publishing support for linuxmusl-arm64, matching the existing native classifier pipeline.

  • Packaging

    • Add ARM64 musl Maven profiles for the runtime and SDK modules.
    • Validate ARM64 ELF architecture and musl loader.
    • Attach externally built linuxmusl-arm64 artifacts during publication.
  • CI and publishing

    • Exercise in-process mode on ARM64 Alpine.
    • Build and validate classifier JARs on ubuntu-24.04-arm.
    • Include the classifier in snapshot, release, and local publication assembly.
  • Coverage and documentation

    • Extend native host, artifact, and publication tests.
    • Document linuxmusl-arm64 as a supported in-process platform.

Copilot AI linked an issue Sep 18, 2026 that may be closed by this pull request
Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
Copilot AI changed the title [WIP] Add support for linuxmusl-arm64 to copilot-sdk Add Java linuxmusl-arm64 native runtime support Sep 18, 2026
Copilot AI requested a review from edburns September 18, 2026 21:31
@github-actions

Copy link
Copy Markdown
Contributor

SDK Consistency Review

This PR exclusively adds a new Java-only native-artifact classifier, linuxmusl-arm64, to the existing platform matrix (linux-x64, linux-arm64, linuxmusl-x64, win32-x64, win32-arm64, darwin-x64, darwin-arm64). Changes are confined to:

  • java/copilot-native/pom.xml and java/sdk/pom.xml (new Maven profile + validation/attach wiring)
  • java/copilot-native/scripts/*.mjs (+tests) for host/classifier validation
  • .github/workflows/java-*.yml (build/publish jobs for the new classifier)
  • java/README.md and java/docs/adr/adr-007-native-bundling-strategy.md (docs)

No public API surface is touched — no new client methods, types, or options are introduced in any language. This is purely build/packaging infrastructure specific to how the Java SDK bundles the native Copilot CLI runtime via JNA (per ADR-007), a mechanism that doesn't have an equivalent in the Node.js, Python, Go, .NET, or Rust SDKs (they don't ship native binary classifiers this way).

Conclusion: No cross-SDK consistency issues. This is an appropriate Java-specific platform-support expansion and doesn't require changes in other language SDKs.

Generated by SDK Consistency Review Agent for #2728 · copilot · sonnet50 · 25.3 AIC · ⌖ 11.5 AIC · ⊞ 7.8K ·

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.

[Java] Add support for linuxmusl-arm64

2 participants