chore(deps): update mr-boxington to 1.30.0
| Package | Change | Type | File |
|---|---|---|---|
| mr-boxington | 1.29.0 → 1.30.0 | minor | mise.toml |
Release notes · 1.29.0 → 1.30.0 (3 releases)
1.30.0
mbx analyze and mbx stats now explain why compilations skipped the cache and where private incremental state came from, and you can configure how much session history to keep. This release also fixes several cases where caches or target directories were evicted in the wrong order, and stops terminal and piped builds of workspace crates from keeping separate cache entries.
Added
-
mbx analyzeandmbx statsexplain uncached compilations (#911, @jbellis). Session history now records why a compilation skipped the cache lookup, which private crates it links, and where its private incremental state came from. When a crate rebuilds only because it links another crate's private output,mbx analyzenow charges that time to the crate that changed instead of calling it a "first build". A new section shows where private incremental state came from: seeded from another checkout (with bytes copied and time taken), this checkout's earlier state, started empty (with a reason), or seeding failed.mbx statsadds lifetime totals by outcome, for example7 hits, 2 misses, 3 not looked up, 1 bypassed since 2026-11-05, andmbx stats --jsonaddssavings.compilations. These totals count only builds recorded by this version or later, and builds from older versions are reported as before. -
Configurable session history retention (#912, @jbellis).
mbx explain --last,mbx analyzeandmbx tuiread session history, which was always capped at 256 sessions and 7 days. On machines that run many parallel builds, that could cover only a few hours. Both limits can now be changed, and the defaults stay the same:[gc] events_max_age = "7d" # "none" keeps sessions of any age events_max_sessions = 256 # "none" keeps any number of sessionsYou can also set them with
MBX_GC_EVENTS_MAX_AGEandMBX_GC_EVENTS_MAX_SESSIONS. A session is removed when it reaches either limit, but never while a build is still writing to it. Higher limits use more disk space, since each session file can grow up toevents_max_size(16 MiB by default).
Changed
MBX_BLAZE=1runsblazewhen it is installed (#904, @jdx). Current blaze releases no longer includera-jit, so this setting did nothing and printed a warning about a missingra-jit. The Cargo shim now sends devbuild,run,testandcheckcommands (and theirb/r/t/caliases) toblazeif it is onPATH. A routedcargo testgetsBLAZE_TESTS=allunless you set it yourself, so every test runs, as with Cargo. If onlyra-jitis installed, mbx still runsra-jit cargo …as before. If neither is installed, mbx warns and builds with Cargo. Note:blazenever calls Cargo, so mbx's cache doesn't see builds thatblazeruns. If you have both programs installed,blazenow runs instead ofra-jit. Flags that blaze does not support make the build fail instead of falling back to Cargo.
Deprecated
- The
ra-jitfallback forMBX_BLAZEwill be removed in mbx 2.0 (#904).
Fixed
- Store eviction tracks real use on macOS, Windows and
noatimemounts (#903, @ViRb3). On APFS, on Windows volumes where last-access updates are off (the default above 128 GB), and on Linuxnoatimemounts, reading a file does not update its access time. As a result, eviction removed the oldest-written objects first, even ones that every build restores. Now mbx records the access time itself, at most once a day per file, whenever a build restores a cached result ormbx cache importrestores workspace state. The modification time is not changed. Lookups that don't restore anything, such as prefetch, export, gc andmbx cache verify, don't count as use.mbx doctornow checks that mbx can record use times (ok atime …: mbx records use times itself) and no longer warns on every Mac. mbx gckeeps target directories whose programs you run between builds (#905, @jdx). Some programs are built rarely but run often fromtarget/, such as a hook binary or one linked from~/.local/bin. Their target directories were ranked by last build only, so they were removed first undertarget.max_sizeor expired undertarget.max_age. Collection now uses whichever is later: the last build, or the last time a top-level executable or library in a profile directory (such astarget/debug/app) was accessed. A target that is still being run but not rebuilt also keeps its build units. Limitations: this only works on filesystems that track access times. Under Linuxrelatime, a run counts at most once a day. Hard-linked cache restores don't count. When the disk is belowgc.min_free_size, these targets can still be removed.- Terminal and piped builds share workspace crate cache entries (#907, @jdx). Cargo passes
--diagnostic-widthonly when stderr is a terminal, so builds in terminals of different widths and piped builds (editors, agents, CI) kept separate entries for workspace crates and kept rebuilding each other. The flag no longer affects the cache key for any crate. Workspace crate entries cached with a width will miss once after the upgrade. Diagnostics replayed from the cache keep the line wrapping of the build that produced them. - Edited workspace crates stay incremental with nightly Cargo (#909, @jdx). Nightly Cargo (1.101) empties a unit's
build/<package>/<hash>/outdirectory before recompiling it. That removed the dep-info mbx uses to detect edits, so every edit reported1 misses, 1 incrementalinstead of moving to private incremental state. mbx now keeps a copy of the dep-info and restores it when the directory is empty. Builds with stable Cargo are unaffected. mbx explain --lastandmbx analyzework in nested checkouts (#910, @jbellis). In a checkout inside another Cargo project's directory, such as agent worktrees under<repo>/.mj/lanes/<name>, both commands looked up the outer project's builds and failed withno recorded build was found. They now use the deepest recorded workspace that contains the current directory and print aworkspace:line showing which one they read.cargo run -- -hstays under mbx (#918, @joshka). mbx treated-hor--helpafter--as a request for Cargo's help. The program then ran without mbx and built into./target, recompiling dependencies. Arguments after--now go to the program.cargo run -handcargo help runstill show Cargo's help.- Fewer stale progress rows after resizing the terminal (#922, @jdx). When the terminal got shorter, the top of the pretty progress block scrolled into scrollback, where mbx can't erase it, and left behind duplicate rows. On tall terminals the block is now limited to half the terminal height, with a minimum of 14 rows. Shrinking the window to just over half its height no longer leaves rows behind. Shrinking it further leaves fewer rows than before.
New Contributors
- @joshka made their first contribution in #918
Full Changelog: https://github.com/jdx/mr-boxington/compare/v1.29.2...v1.30.0
1.29.2
Compile errors in build-script-generated files now show real paths instead of mbx placeholders. macOS builds started right after you save or check out a file no longer fail with a spurious "compiler input was modified" error.
Fixed
- Compile errors show real paths for build script
OUT_DIR(#897, @jdx). When a compile error pointed into a build script'sOUT_DIR,cargo buildthrough mbx printed mbx's placeholder (--> ${out_dir}/gen.rs:1:29) instead of the file's path, even on a cold cache. The same happened in--message-format=jsonoutput, which also broke trybuildcompile_failsnapshots. Cache hits already showed real paths. Now mbx also rewrites rustc's stdout and stderr back to real paths during live compiles, so the output matches plain Cargo. Escaping stays valid in JSON diagnostics. The same applies to other mapped roots such as${target}, and to${workspace}whenMBX_SHARE_WORKSPACE_ROOTis on. Cache entries still store the placeholder form, so sharing across checkouts works as before. - macOS builds survive metadata writes during compilation (#894, @ViRb3). macOS adds extended attributes such as
com.apple.provenanceto a file about 1 to 2 seconds after an app writes it. If a build started in that window, mbx threw away rustc's result withcompilation result was discarded: compiler input was modified during compilation, and every dependent crate failed withextern location ... does not existuntil you built again. Now, if only an input's change time moves while its length, modification time and file identity stay the same, the build succeeds and that compilation is not cached. mbx records it as anInputMetadataChangedDuringCompilationbypass. Any other change to the input still discards the result.
Full Changelog: https://github.com/jdx/mr-boxington/compare/v1.29.1...v1.29.2
1.29.1
Fixes for build scripts that read environment variables with non-identifier names, mbx gc removing target directories that running programs use, Windows CI builds that could not find predictions from earlier lockfiles, grouped exports left empty after a workspace-state restore, and stale target directories after quick config edits.
Fixed
- Build scripts receive every environment variable (#888, @jdx). On systems where
/bin/shis dash (Ubuntu, Debian), build scripts lost variables whose names aren't valid shell identifiers, such as tauri'sDEP_TAURI_CORE:PATH__CORE_PLUGIN___PERMISSION_FILES_PATH, and failed. Before, the only workaround wasMBX_BUILD_SCRIPT_EXECUTION=0. The Unix build-script launcher now starts the pinned mbx binary directly through its shebang, with no shell in between. If the path contains whitespace or the shebang line would be longer than 127 bytes, mbx still uses the oldshlauncher. Launchers installed by earlier versions keep working.
The Count left some release notes out to keep this description short — read all releases.
Count Patchula opened this PR
The Count keeps watch over this repo. He works for free, but if you find him helpful, consider supporting his development.
- Re-check this PR now
- Add to the batch PR (closes this PR and moves the update there)