Repository navigation
Mitts 0.2.1
Mitts 0.2.1 refines the native Rust action-key model, CAS artifact naming, single-flight compile locking, and the unified T0–T5 cross-filesystem benchmark harness (XFS, ext4, and macOS APFS).
Engine and cache (src/adapter/rust/)
- Fine-grained dep-info input keying (
14084e4,82295e3):- Units without impure proc-macros are keyed by crate root (
unit.src_path), common build inputs, and the exact files recorded byrustc/build.rsin.ddep-info rather than hashing the entire package tree. Cargo.lockand non-build manifest metadata fields (description,readme,documentation,homepage,repository,keywords,categories,authors) are excluded from unit action keys, so edits to non-compiled files,tests/,benches/, or docs no longer invalidate library/binary units.
- Units without impure proc-macros are keyed by crate root (
- Result-keyed CAS artifact naming (
0b5bbfc):- Shared CAS artifacts (
-C metadata/extra_filename) are named by the fine-grainedresult_keyrather than the coarse action key, eliminatingStableCrateIdcollisions when units share a coarse action key across different.ddep-info inputs.
- Shared CAS artifacts (
- Build-script key normalization (
2ca59e6,3d37500):- Empty
[target.*]tables left after strippingdev-dependenciesare dropped from normalized manifests. - Test-only manifest tables (
[[bench]],[[test]],[[example]],[dev-dependencies]) are excluded frombuild.rsaction keys, so benchmark/test/doc-only commits hit the CAS without re-executingbuild.rs.
- Empty
- Source-aware single-flight compile lock (
4e262ae):- Cross-process single-flight compilation locks include the crate root's directory tree (
src/), preventing false serialization across concurrent worktrees checked out at different commits inT5.
- Cross-process single-flight compilation locks include the crate root's directory tree (
Unified T0–T5 Benchmark Suite (scripts/)
- Interleaved
S1cold-build arms with rotation and fresh mtimes (copy_repo_tree) for fair incremental comparisons (a12b531). - Linux PSI CPU pressure sampling (
cpu_some_avg10),NOISYvariance gate (<= 15%spread across sound arms), andINVALID_L5/INVALID_T5soundness gates withstatus_flagstracking (83dce9d,be1ecef,aa51e8a,6e7814c). #![no_std]-compatibleL5bclippy anomaly injection ("a".len() == 0) (be1ecef).- Automatic
RLIMIT_NOFILEpromotion (65536) on macOS so 12-worktreesccacheswarms do not exhaust the default 256-FD soft limit (aa51e8a), plusrlimit_nofile_soft,sched_pri, andniceprovenance recording (1a9d383).
Full history: v0.2.0...v0.2.1