Repository navigation
Highlights
- Fixed an indefinite wait when an interrupted run leaves a
Cargo.lock.cooldown-holdmarker behind. If the recorded holder is no longer visible, cargo-cooldown exits with a recovery message instead of waiting indefinitely. - Detect markers whose contents do not identify a holder after a short grace period, covering interruptions during the initial marker write. A live holder can still finish without a fixed wait timeout; if its status cannot be determined, cargo-cooldown continues waiting.
- Coordination markers are never removed automatically. Before removing one, confirm that no other cargo-cooldown process is using it, including on another host or in another process namespace. PID reuse, unreaped zombie processes, or process and file access errors can still require manual investigation.
- Improved a Windows regression test and expanded coverage for interrupted and live lock holders.
Compatibility
- Rust and Cargo 1.97 or newer are required.
Fixes and thanks
- Fixed the stale coordination marker issue (#31). Thanks to @YevheniiKotyrlo for the detailed report and reproduction.
Install
cargo install --locked cargo-cooldown --version 0.4.2Prebuilt archives for Linux, macOS, and Windows are attached, together with SHA256SUMS and GitHub Artifact Attestations. The v0.4.2 tag is GPG-signed.
Implemented in #32 by @dertin.
Full changelog: v0.4.1...v0.4.2