Skip to content

Java: add win32-arm64 native runtime support - #2427

Merged
edburns merged 2 commits into
mainfrom
edburns/java-add-win32-arm64
Aug 27, 2026
Merged

Java: add win32-arm64 native runtime support#2427
edburns merged 2 commits into
mainfrom
edburns/java-add-win32-arm64

Conversation

@edburns

@edburns edburns commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Fixes #2422 .

Adds win32-arm64 support to the Java SDK’s experimental in-process runtime, matching the existing native packaging and publication model.

  • Packaging

    • Adds host-aware win32-arm64 Maven profiles.
    • Packages runtime.node, copilot, and platform metadata.
    • Requires a Windows ARM64 host.
  • Validation

    • Extends host, artifact, fetch, and local-publication validation.
    • Includes win32-arm64 in coordinated classifier publication.
  • CI and publishing

    • Adds win32-arm64 to the java-sdk-inprocess matrix using ubuntu-24.04-arm.
    • Builds and publishes the classifier in snapshot and release workflows.
  • Documentation

    • Documents the classifier dependency, supported host, and development workflow.
<dependency>
    <groupId>com.github</groupId>
    <artifactId>copilot-sdk-java-runtime</artifactId>
    <version>${copilot.version}</version>
    <classifier>win32-arm64</classifier>
</dependency>

Copilot AI balanced review requested due to automatic review settings August 27, 2026 16:47
@edburns
edburns requested a review from a team as a code owner August 27, 2026 16:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Extends Java’s experimental in-process runtime to Linux and Windows ARM64.

Changes:

  • Adds ARM64 Maven packaging and host validation.
  • Expands tests and artifact validation to five classifiers.
  • Updates CI, publishing workflows, and documentation.
Show a summary per file
File Description
java/sdk/pom.xml Selects ARM64 runtime classifiers.
java/README.md Documents ARM64 support and workflows.
java/docs/adr/adr-007-native-bundling-strategy.md Updates supported publication scope.
java/copilot-native/pom.xml Packages and attaches ARM64 classifiers.
java/copilot-native/scripts/validate-native-host.mjs Validates ARM64 build hosts.
java/copilot-native/scripts/validate-native-host.test.mjs Tests ARM64 host validation.
java/copilot-native/scripts/validate-native-artifact.test.mjs Tests ARM64 artifacts and publication.
java/copilot-native/scripts/validate-local-publication.mjs Requires both ARM64 classifiers.
java/copilot-native/scripts/fetch-native.test.mjs Covers ARM64 staging behavior.
.github/workflows/java-sdk-tests.yml Adds ARM64 tests and assembly inputs.
.github/workflows/java-publish-snapshot.yml Publishes ARM64 snapshots.
.github/workflows/java-publish-maven.yml Publishes ARM64 releases.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 12/12 changed files
  • Comments generated: 0
  • Review effort level: Balanced

Copilot AI and others added 2 commits August 27, 2026 16:55
* Initial plan

* Add Java win32-arm64 native support

Co-authored-by: edburns <75821+edburns@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
@edburns
edburns force-pushed the edburns/java-add-win32-arm64 branch from f2c2f22 to dfdd52b Compare August 27, 2026 16:57
@github-actions

Copy link
Copy Markdown
Contributor

Cross-SDK Consistency Review ✅

This PR adds win32-arm64 native runtime support to the Java SDK's in-process runtime packaging and CI infrastructure.

Scope of changes: Java-only (CI workflows, Maven POMs, native bundling scripts, documentation).

Consistency verdict: No cross-SDK consistency issues. The Java in-process native runtime (copilot-native) is a Java-specific architectural component with no equivalent in the other SDK implementations (Node.js, Python, Go, .NET, Rust). This change does not add or modify any public SDK API surface, so no corresponding updates are needed in other language SDKs.

Generated by SDK Consistency Review Agent for #2427 · sonnet46 17.3 AIC · ⌖ 4.01 AIC · ⊞ 6.6K ·

@edburns
edburns requested review from MackinnonBuck and roji and removed request for roji August 27, 2026 17:14
@edburns
edburns added this pull request to the merge queue Aug 27, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 27, 2026
@edburns
edburns added this pull request to the merge queue Aug 27, 2026
Merged via the queue into main with commit a671d94 Aug 27, 2026
45 checks passed
@edburns
edburns deleted the edburns/java-add-win32-arm64 branch August 27, 2026 19:42
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 win32-arm64

4 participants