Skip to content
Launchr Space Journal

Software Engineering · Global

Mise can now catch undeclared cache inputs on Linux. Try it on one build.

The November 24 release adds an experimental check for cached tasks. Start with a small build whose output you can reproduce.

By Launchr Space ·

Build caches are great at hiding work. That is also how they can hide a mistake: if an input changes but the cache key does not, the next build may look green while restoring old output. On November 24, mise released version v2026.11.14 with an experimental sandbox for cached tasks. The change gives teams running Linux CI a way to catch some undeclared dependencies before sharing build outputs.

What the sandbox checks

Mise can store the outputs and logs of a successful task and restore them when the same inputs return. Its new cache sandbox derives file access from the task’s declared sources and outputs. On Linux, a fresh task that reads an undeclared input or writes outside its declared output area can fail instead of leaving behind a misleading cache entry. The project documents this as experimental. On macOS and Windows, mise warns and runs the task without that sandbox, so a passing local build is not the same test.

A smaller example makes the difference clear. If a frontend build reads its source tree and lockfile but also reads a build-time flag, then a source-only cache key may not capture everything that shapes the result. File access checks can help find a missing config file. You still need to declare inherited environment inputs and any other values that affect output. Sandboxing does not establish that a task is deterministic.

Try a cold build, then an honest cache hit

Pick a task that creates one contained artifact, such as a static site bundle. Run it cold in Linux CI with the experimental policy, fix the missing declarations it exposes, then compare another cold run with a restored output. Change one real input at a time and confirm the cache misses when the bundle should change. Include the project’s pinned tool versions and any build configuration rather than relying on whatever happened to be on a developer’s machine.

Record the time saved and the cases that failed before rolling this out repo-wide. The win is not a high hit rate by itself. It is being able to explain exactly when an artifact can be reused and when it needs to be rebuilt.

Sources

Keep reading