Repository navigation
v0.5.37
Bug Fixes (Issues #65–#72)
#65 — Tray: "Quit" kills all processes instead of exiting
- Fixed hardcoded menu IDs (
"0","1") that never matched the random IDs generated bytray-icon - Replaced with explicit
MenuItem::with_idusing stable IDs"kill_all"and"quit" - Removed destructive fallback that killed all processes for unrecognized menu IDs
#66 — Guard mode restarts leak zombie processes
- Replaced
std::mem::forget(child)with a background reaper thread that callschild.wait() - Fixed truncated working directory (relative path) that broke
RestartManager::execute_restart - Fixed
last_restartedtimestamp never being updated on actual restarts
#67 — Cache safe-delete destroys backup after partial failure
- Removed backup deletion on partial original removal failure — backup is now preserved
- Fixed symlink materialization: top-level symlinks are now copied as symlinks
- Fixed
find_latest_backupsorting by mtime (unstable) to sorting by directory name (ISO 8601 timestamps)
#68 — Process monitor never emits updates
- Fixed change detection:
scan_processesupdated internal state before the caller could compare, so changes were never detected - Fixed restart info only being saved in verbose mode — now fetches verbose info on demand during kill
#69 — Port Guard ignores reservations and per-port allowed process names
- Added
effective_watched_ports()that merges initial ports with reservation keys - Added
allowed_name_for_port()that checks per-port reservations before falling back to global name - Updated all enforcement, conflict detection, and command interception to use these helpers
#70 — Cache detection double-counts nested caches
- Python/Java detectors now use
skip_current_dir()to prune the walk when a cache directory is found - Removed duplicate Torch hub and HuggingFace transformers sub-cache entries
#71 — Cache clean flags are mutually exclusive; --stale-days ignored
- Made specialized flags and language detection additive instead of mutually exclusive
- Added
entries.retain(|e| e.stale)filtering whenstale_daysis provided - Narrowed
~/.cargo→~/.cargo/registryand~/.m2→~/.m2/repositoryto prevent toolchain destruction - Applied same fix to
list.rs
#72 — Cache restore reports success on failure
- Added
error: Option<String>toRestoreResponse find_latest_backupnow skips directories withoutmanifest.json- CLI now exits with code 1 when restore fails (all three entry points)
Full Changelog: v0.5.36...v0.5.37