Regenerate mise.lock with java platform URLs#651
Conversation
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>
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
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.
| [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" |
There was a problem hiding this comment.
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"
| @@ -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 | |||
CI on main is failing in the "Setup mise" step:
mise-action 4.1.0 automatically passes
--lockedtomise installwhen amise.lockis 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:[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.lycheeentries (linux-arm64-muslnow points to the musl build,macos-arm64to the tar.gz instead of the dmg).🤖 Generated with Claude Code