Skip to content

[Java] Clean-up: make it so interim time during implementation produces correct artifacts - #2345

Open
edburns wants to merge 3 commits into
mainfrom
edburns/2323-java-windows-x64-embed-rust
Open

[Java] Clean-up: make it so interim time during implementation produces correct artifacts#2345
edburns wants to merge 3 commits into
mainfrom
edburns/2323-java-windows-x64-embed-rust

Conversation

@edburns

@edburns edburns commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

Fixes #2344 .

Since the merging of #2301 , the Java Maven POM incorrectly produced artifacts containing linux-x64 in the filename, regardless of the actual os-arch of the build. This is incorrect. The correct behavior is to make it so only when the actual os-arch is linux-x64 should such artifacts be produced.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2ea248b2-112a-4548-865e-922721479b0c
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: de80978a-085e-476a-97a2-d2c5858446f6
Copilot AI balanced review requested due to automatic review settings August 16, 2026 23:46
@edburns
edburns requested a review from a team as a code owner August 16, 2026 23:46
@github-actions

This comment has been minimized.

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

Restricts Java native-runtime packaging to supported build hosts so incorrect platform-classified artifacts are not produced.

Changes:

  • Adds host-activated Maven native packaging.
  • Updates native-build documentation and ADR.
  • Adds temporary implementation and validation plans.
Show a summary per file
File Description
java/copilot-native/pom.xml Adds host-gated native packaging profiles.
java/README.md Documents native build behavior.
java/docs/adr/adr-007-native-bundling-strategy.md Records the host-matched packaging strategy.
2323-java-windows-x64-embed-rust-remove-before-merge/20260815-make-it-so-no-incorrect-os-arch-artifacts-are-produced.md Adds a temporary implementation plan.
2323-java-windows-x64-embed-rust-remove-before-merge/20260816-notes-to-linux-x64-agent.md Adds a temporary Linux validation handoff.

Review details

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

  • Files reviewed: 5/5 changed files
  • Comments generated: 4
  • Review effort level: Balanced

Comment thread java/copilot-native/pom.xml
Comment thread java/copilot-native/pom.xml
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: de80978a-085e-476a-97a2-d2c5858446f6
@github-actions

Copy link
Copy Markdown
Contributor

Cross-SDK Consistency Review ✅

This PR is entirely scoped to Java build infrastructure — it fixes incorrect linux-x64 artifact naming introduced by #2301 and adds a validate-native-host.mjs script to enforce correct os-arch artifact production.

No cross-SDK consistency issues identified. The changes affect:

  • Java Maven POM configuration (java/copilot-native/pom.xml)
  • A new native host validation script and its tests
  • Java README and ADR documentation
  • CI workflow update (.github/workflows/java-sdk-tests.yml)

None of these touch the public SDK API surface, so no corresponding changes are needed in the Node.js, Python, Go, .NET, or Rust implementations.

Generated by SDK Consistency Review Agent for #2345 · sonnet46 17 AIC · ⌖ 5.35 AIC · ⊞ 6.6K ·

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] Clean-up: make it so interim time during implementation produces correct artifacts

2 participants