Repository navigation
Mitts v0.5.8
Mitts v0.5.8
Source commit: 47f6e5cac75ae29d0d0ad923aac3ad2e849cbfbf.
- Your own crates are no longer stored in the shared cache. Workspace members and path
dependencies change with every edit, and Mitts stored each version of them, tests and
binaries included, in~/.cache/mitts. A project with 96 integration tests built in a
fresh worktree per change put 70 GB of its own test executables there within two
hours. Their outputs, build-script results and cache entries now go to
target/<profile>/.mitts-store, which keeps the last version of each unit for each
command (build,test,check,clippy): a build with nothing changed restores
them, an edit replaces them (the target does not grow with edits), andmitts clean
orrm -rf targetremoves them. The shared cache holds
registry and git dependencies.MITTS_SHARE_WORKSPACE_CRATES=1stores your own crates
there as before, so a second worktree of the same commit reuses them. - The cache size limit holds while builds run. A build holding the cache kept every
object used in the last two hours, so builds without pause kept the cache far over
MITTS_CACHE_MAX_BYTES. When the limit cannot be met that way, objects older than ten
minutes that no workspace links to are pruned too. - On Windows (MSVC) a library of a package with a build script no longer keeps the build
script'sbuild_script_build.pdbamong its cached outputs. mitts fetchfits in the open-file limit of a macOS terminal (256), as Cargo. Fetching
hundreds of crates failed with "Too many open files": every downloaded crate waiting to
be unpacked held its lock file open, on top of 64 download connections. Downloads and
unpacks now run as many at once as the process's open-file limit allows.
Checked before the release: the full test suite on Linux, macOS and Windows CI; the OS
matrix with the full suite on eight x86_64 Linux distributions and seven native aarch64
ones, and a test subset on arm64 and riscv64 under emulation. On each one the project's own
crates stay out of the shared cache.
No new performance benchmark result is claimed by this release. The published benchmarks
were measured when Mitts stored the projects' own crates in the shared cache; that now
takes MITTS_SHARE_WORKSPACE_CRATES=1.
What's Changed
Fixes
- VS Code extension: open-vsx-ready runs from the workspace root by @alex09x in #199
- mitts fetch fits in the open-file limit of a macOS terminal (256), as Cargo by @alex09x in #198
Build, CI and releases
- VS Code extension: the Mitts version, published with every Mitts release by @alex09x in #194
- VS Code extension: Open VSX only behind an existing, protected open-vsx environment by @alex09x in #196
Features
- prod-code runs this repository's Rust checks through Mitts by @alex09x in #201
- Your own crates stay in the target, not the shared cache; the cache limit holds while builds run by @alex09x in #200
Documentation
- VS Code extension README: Windows is supported by @alex09x in #193
- Cite the 0.5.7 version DOI by @alex09x in #197
- Release 0.5.8 by @alex09x in #202
Contributors
Commits (9 of 9)
bd4542bVS Code extension README: Windows install line and support, not 'no Windows' (#193)c50e9e7VS Code extension: the Mitts version, published with every Mitts release (#194)2d66177VS Code extension: publish to Open VSX only when the open-vsx environment exists with a required reviewer (#196)bde5fa1Cite the 0.5.7 version DOI; action examples pin v0.5.7; 0.5.7 notes: the Helix check does not run Mitts (#197)6624b3eVS Code extension: the open-vsx-ready check runs from the workspace root (#199)c0ed16emitts fetch fits in the open-file limit of a macOS terminal (256), as Cargo (#198)b8cb507prod-code runs this repository's Rust checks through Mitts (#201)b498e91Your own crates stay in the target, not the shared cache; the cache limit holds while builds run (#200)47f6e5cRelease 0.5.8 (#202)
Full Changelog: v0.5.7...47f6e5c