Skip to content

Regenerate mise.lock with java platform URLs#651

Merged
oschwald merged 1 commit into
mainfrom
wstorey/fix-lock-file
Jun 11, 2026
Merged

Regenerate mise.lock with java platform URLs#651
oschwald merged 1 commit into
mainfrom
wstorey/fix-lock-file

Conversation

@horgh

@horgh horgh commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

CI on main is failing in the "Setup mise" step:

mise ERROR Failed to install core:java@latest: No lockfile URL found for java@26.0.1 on platform linux-x64 (--locked mode)

mise-action 4.1.0 automatically passes --locked to mise install when a mise.lock is present, and locked mode requires per-platform URL and checksum entries, which the committed lock file lacked for java.

This regenerates the lock file with mise lock. All tool versions stay pinned as before; the changes are:

  • Added [tools.java."platforms.*"] URL/checksum entries for java 26.0.1 (linux, macOS, Windows) — identical to the entries in Regenerate mise.lock with java platform URLs GeoIP2-java#725, which fixed the same failure there.
  • Corrected two existing lychee entries (linux-arm64-musl now points to the musl build, macos-arm64 to the tar.gz instead of the dmg).

🤖 Generated with Claude Code

mise-action 4.1.0 automatically runs `mise install --locked` when a
mise.lock is present. The locked install fails because the lock file
lacked platform URL and checksum entries for java:

    No lockfile URL found for java@26.0.1 on platform linux-x64
    (--locked mode)

Regenerate the lock file with `mise lock` to add them.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • mise.lock is excluded by !**/*.lock

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 34cac690-de27-4f95-a047-bc08864db21c

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch wstorey/fix-lock-file

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates the mise.lock file by modifying the auto-generation URL, adding platform-specific configurations for Java, and updating Lychee's platform-specific URLs and checksums. However, the review identified two issues: the auto-generation URL was changed to an incorrect domain (mise.en.dev instead of mise.jdx.dev), and the added Java configurations point to invalid URLs for an unreleased Java version 26.0.1 (which actually correspond to OpenJDK 22.0.1).

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread mise.lock
Comment on lines +39 to +57
[tools.java."platforms.linux-arm64"]
checksum = "sha256:12a3649b2f4a0c9f6491d220bdd04b4fff07cae502b435aaff46eac0e36f4df1"
url = "https://download.java.net/java/GA/jdk26.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-26.0.1_linux-aarch64_bin.tar.gz"

[tools.java."platforms.linux-x64"]
checksum = "sha256:2f2802d57b5fc414f1ddf6648ba12cc9a6454cf67b32ac95407c018f2e6ab0b0"
url = "https://download.java.net/java/GA/jdk26.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-26.0.1_linux-x64_bin.tar.gz"

[tools.java."platforms.macos-arm64"]
checksum = "sha256:b2d57405194a312ed4ec6ec08e83b314d3fd2e425e895d704ec5ef8ea6059e17"
url = "https://download.java.net/java/GA/jdk26.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-26.0.1_macos-aarch64_bin.tar.gz"

[tools.java."platforms.macos-x64"]
checksum = "sha256:e52bc05aefe4991329a6a103c9b42ae4b9b77240a9f9d3d12f6a7365db1ae16a"
url = "https://download.java.net/java/GA/jdk26.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-26.0.1_macos-x64_bin.tar.gz"

[tools.java."platforms.windows-x64"]
checksum = "sha256:b381d30647aed9ff440abed5ab61af01d8578c290cd407c57e064ebc4b0151be"
url = "https://download.java.net/java/GA/jdk26.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-26.0.1_windows-x64_bin.zip"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

critical

The URLs for Java 26.0.1 are invalid and will result in 404 errors because Java 26 has not been released yet. The SHA-256 checksums provided actually correspond to OpenJDK 22.0.1. Please correct the URLs to point to the valid 22.0.1 release, and also update the version field on line 36 to "22.0.1".

[tools.java."platforms.linux-arm64"]
checksum = "sha256:12a3649b2f4a0c9f6491d220bdd04b4fff07cae502b435aaff46eac0e36f4df1"
url = "https://download.java.net/java/GA/jdk22.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-22.0.1_linux-aarch64_bin.tar.gz"

[tools.java."platforms.linux-x64"]
checksum = "sha256:2f2802d57b5fc414f1ddf6648ba12cc9a6454cf67b32ac95407c018f2e6ab0b0"
url = "https://download.java.net/java/GA/jdk22.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-22.0.1_linux-x64_bin.tar.gz"

[tools.java."platforms.macos-arm64"]
checksum = "sha256:b2d57405194a312ed4ec6ec08e83b314d3fd2e425e895d704ec5ef8ea6059e17"
url = "https://download.java.net/java/GA/jdk22.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-22.0.1_macos-aarch64_bin.tar.gz"

[tools.java."platforms.macos-x64"]
checksum = "sha256:e52bc05aefe4991329a6a103c9b42ae4b9b77240a9f9d3d12f6a7365db1ae16a"
url = "https://download.java.net/java/GA/jdk22.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-22.0.1_macos-x64_bin.tar.gz"

[tools.java."platforms.windows-x64"]
checksum = "sha256:b381d30647aed9ff440abed5ab61af01d8578c290cd407c57e064ebc4b0151be"
url = "https://download.java.net/java/GA/jdk22.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-22.0.1_windows-x64_bin.zip"

Comment thread mise.lock
@@ -1,4 +1,4 @@
# @generated - this file is auto-generated by `mise lock` https://mise.jdx.dev/dev-tools/mise-lock.html
# @generated - this file is auto-generated by `mise lock` https://mise.en.dev/dev-tools/mise-lock.html

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The domain mise.en.dev is incorrect and appears to be a hallucination. The official domain for mise is mise.jdx.dev.

@oschwald oschwald merged commit ee2c041 into main Jun 11, 2026
30 checks passed
@oschwald oschwald deleted the wstorey/fix-lock-file branch June 11, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants