Skip to content

Regenerate mise.lock with java platform URLs#725

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

Regenerate mise.lock with java platform URLs#725
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 (#724) now automatically passes --locked to mise install when a mise.lock is present. The locked install fails because the committed lock file only pinned the java version and lacked the per-platform URL and checksum entries that --locked mode requires.

This regenerates the lock file with mise lock, adding [tools.java."platforms.*"] entries for linux, macOS, and Windows.

🤖 Generated with Claude Code

mise-action 4.1.0 now 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: 30ff5bee-a829-4eca-910c-14a9485fb329

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 to add platform-specific configurations, checksums, and download URLs for Java 26.0.1. However, the auto-generated header URL was incorrectly modified to use an incorrect domain (mise.en.dev instead of mise.jdx.dev). This URL change should be reverted to the official domain as suggested by the reviewer.

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
@@ -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 in the auto-generated header URL was changed from mise.jdx.dev to mise.en.dev. The official domain for the mise tool is mise.jdx.dev. This change appears to be an unintended modification or hallucination by the generation tool. Please revert this URL to the correct official domain.

# @generated - this file is auto-generated by `mise lock` https://mise.jdx.dev/dev-tools/mise-lock.html

@oschwald oschwald merged commit 66820f4 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