Skip to content

fix(release): JDK 21 for Windows ARM64 signing; keep the Linux core package off npm - #425

Merged
Brooooooklyn merged 3 commits into
mainfrom
fix/desktop-release-java21
Nov 27, 2026
Merged

Brooooooklyn merged 3 commits into
mainfrom
fix/desktop-release-java21

Conversation

@Brooooooklyn

@Brooooooklyn Brooooooklyn commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Two blockers of the v0.0.22 release:

  1. Desktop Release, Windows ARM64 failed in Setup Java for CodeSignTool: No matching version found for SemVer '25'. Renovate chore(deps): update dependency java-jdk to v25 #411 raised java-version to 25; Temurin has no Windows ARM64 JDK 25 (Adoptium lists none; 21.0.12 exists). Back to 21.
  2. npm Publish stopped at @mlx-node/core-linux-arm64-gnu: No authentication configured for request. Trusted publishing is per package and this package was never published, so it has no publisher; yarn then stopped the whole run (core depends on it). Only [email protected] reached npm. The Linux package is now private and out of core's optionalDependencies until an owner publishes it once and adds the trusted publisher. The node-modules linker still links it for Linux CI.

After merge: release 0.0.23 (the v0.0.22 commit still has both blockers).

🤖 Generated with Claude Code

Renovate PR #411 raised java-version to 25, but Temurin has no Windows
ARM64 build of JDK 25 (the Adoptium API lists none; 21.0.12 exists).
The v0.0.22 Desktop Release failed in Setup Java for CodeSignTool with
"No matching version found for SemVer '25'", so the release was never
published.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 170e17b0-8138-44e1-b785-a8ecc3bb2e6d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T16:45:22.341120Z 8d4c4d3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…a publisher

The v0.0.22 Publish job stopped at @mlx-node/core-linux-arm64-gnu with
"No authentication configured for request". npm publishes this repo
through trusted publishing, which is set per package, and this package
was never published, so it has none. yarn then stopped the whole run
because core depends on it, and no other package reached 0.0.22.

The package is private until an owner publishes it once and adds the
trusted publisher, and core no longer lists it as an optional
dependency, so a published core never points at a package npm cannot
serve. The node-modules linker still links the workspace, so Linux CI
loads it as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Brooooooklyn Brooooooklyn changed the title fix(ci): use Temurin JDK 21 for Windows ARM64 code signing fix(release): JDK 21 for Windows ARM64 signing; keep the Linux core package off npm Nov 27, 2026
The publish job's artifact collector (packages/core/artifacts.ts) and
its test listed every packages/core/npm/<abi>/ folder with a
package.json as a published platform package, so the now-private
linux-arm64-gnu package failed the consistency check against core's
optionalDependencies ("packages/core/npm/linux-arm64-gnu/package.json
exists but ... is not in the optionalDependencies"). One shared scan,
listPublishedPlatformDirs, now skips a folder whose package.json is
private, the same rule `yarn workspaces foreach --no-private npm
publish` uses.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Brooooooklyn
Brooooooklyn merged commit 1d85061 into main Nov 27, 2026
18 checks passed
@Brooooooklyn
Brooooooklyn deleted the fix/desktop-release-java21 branch November 27, 2026 17:37
Brooooooklyn added a commit that referenced this pull request Nov 27, 2026
…427)

## Summary

0.0.23's npm Publish failed in `yarn workspace @mlx-node/core
artifacts`: `Artifacts were found for unconfigured targets:
mlx-core.linux-arm64-gnu.node`. #425 made `linux-arm64-gnu` private (no
npm trusted publisher yet), so the collector skips it, but the publish
job still downloaded its addon into `packages/core/artifacts`. The next
step (Linux layout check) would have failed too.

The publish job now skips the Linux addon + CUDA header downloads and
the layout check. Linux still builds and tests in its own jobs.

Checked locally: the collector passes with only the darwin addon and
fails with the CI error when the Linux file is present.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
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