Repository navigation
Let mbx manage per-machine cache budgets instead of setting MBX_GC_MAX_TOTAL_SIZE - #78
Conversation
…X_TOTAL_SIZE Drop `[env]` `MBX_GC_MAX_TOTAL_SIZE` from `home/dot_config/mise/conf.d/mbx.toml.tmpl` so dotfiles owns only the `mr-boxington` pin and `[wrappers.cargo]`. Setting `MBX_GC_MAX_TOTAL_SIZE` as a mise env var overrode per-machine `mbx settings set gc.max_total_size ...` values in mise-activated shells while leaving non-mise callers (such as `rust-analyzer`) on `mbx`'s own config file, forcing direct edits to the deployed `mbx.toml` to tune a machine's budget. Update `docs/profiles.md` and `tests/test_profiles.py` to match. Co-Authored-By: gemini-4-neon <noreply@google.com>
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
Summary
Drop
[env] MBX_GC_MAX_TOTAL_SIZE = "100GiB"fromhome/dot_config/mise/conf.d/mbx.toml.tmplso dotfiles owns only themr-boxingtontool pin and[wrappers.cargo], leaving cache sizing tombx's per-machine configuration (mbx settings set gc.max_total_size ...ormbx's built-in disk-proportional defaults).Why
MBX_GC_MAX_TOTAL_SIZEas a mise[env]variable overrodembx's ownconfig.tomlin mise-activated shells and wrappers, while non-mise callers (such asrust-analyzer) readconfig.tomlinstead.~/.config/mise/conf.d/mbx.tomldirectly on disk, causing permanentchezmoidrift (MM) on every subsequent rollout.Changes
home/dot_config/mise/conf.d/mbx.toml.tmpl: remove[env] MBX_GC_MAX_TOTAL_SIZE = "100GiB".docs/profiles.md: document that cache sizing is machine-local viambx's built-in defaults ormbx settings set gc.max_total_size <size>.tests/test_profiles.py: assert renderedmbx.tomlomits[env].Verification
python3 -m unittest -v tests.test_profiles.Profiles.test_mbx_and_hidden_display_scopingpassed.chezmoi diff --no-pager -S . --exclude scriptsis empty against live$HOME.