Skip to main content

CI/CD provider

ISSUE-1003HighPackage Managers and Lockfiles

mise: a tool is not locked

Control:CTRL-1001mise-en-place

📋 What is this?

A tool request in a mise config has no entry in the lockfile whose specifiers contain that request: the lockfile is stale or incomplete. The same finding is raised when Plumber cannot read the request statically (a {{ ... }} template, an unquoted version) or when the lockfile uses format 0, which records no specifiers.

⚠️ Impact

mise resolves the tool at install time, outside the lockfile. When Plumber cannot prove a tool is locked, it does not pass it.

🔧 How to fix

Run mise lock and commit the updated lockfile. For a format 0 lockfile, run mise lock --upgrade to move it to the current format. Replace a templated version with a literal one, or list the tool in exemptPackages if the exception is intentional.

✗ BeforeThe lockfile is stale: `jq` is installed without a recorded URL or checksum.
# mise.toml: ❌ jq was added after the last mise lock
[tools]
terraform = "1.9.8"
"aqua:jqlang/jq" = "1.7.1" # no entry in mise.lock
✓ AfterEvery request now has a lock entry whose `specifiers` contain it.
# ✅ run mise lock after changing [tools], commit both files
mise lock
git add mise.toml mise.lock

💡 Tips

  • A request Plumber cannot read statically is also reported by the versions check as ISSUE-1012.
  • When the lockfile check runs, a missing lock entry is reported here (or as ISSUE-1001), and the sources check does not report it again as ISSUE-1013.

⚙️ Configure this control

With the CLI alone: set it in your configuration file. Every field and default is in the controls index, CTRL-1001.