Repository navigation
chore(deps): update mr-boxington to 1.30.0 - #424
Open
sweepies-ops[bot] wants to merge 1 commit into
Open
sweepies-ops[bot] wants to merge 1 commit into
sweepies-ops[bot] wants to merge 1 commit into
Conversation
Patchula: v1 Patchula-Branch: 77f3d4b3ec6d5c2b22946c63e60f59ed462a27c6c603018b2d294b09b399ef28 Patchula-Base: f33af1f Patchula-Plan: d391bd2647ad83370c79a63d92b6ba02c7f6c83a8c3062a31e509052b0e7afc1
34 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1.29.0→1.30.0mise.tomlRelease notes ·
1.29.0→1.30.0(3 releases)1.30.0
mbx analyzeandmbx statsnow 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:You 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
ra-jitfallback forMBX_BLAZEwill be removed in mbx 2.0 (#904).Fixed
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.--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.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.New Contributors
Full Changelog: jdx/mr-boxington@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
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.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: jdx/mr-boxington@v1.29.1...v1.29.2
1.29.1
Fixes for build scripts that read environment variables with non-identifier names,
mbx gcremoving 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
/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.
The Count keeps watch over this repo. He works for free, but if you find him helpful, consider supporting his development.