ProxSave v0.12.4
🛡️ Backup safety hardening + major test coverage boost
This release focuses on reliability and observability across backup/restore workflows, with stronger safety checks and clearer failure signaling.
- New pre-backup validation: Added an explicit
/tmp/proxsavepreflight check to ensure the directory exists, is writable, and supports symlinks before backups start (with improved debug logging for traceability). - Improved symlink handling: Symlink creation issues in the backup collector are logged as warnings and treated as non-fatal where appropriate, while
safeCopyFilenow returns a structured error on symlink creation failures to improve notification parsing and make failures actionable. - Cleaner log output: Log message truncation is standardized to 300 characters with ellipsis, reducing noise while preserving context in alerts and reports.
- Expanded test coverage: Significant new tests across
backup_safety.go,decrypt.go,collector_pve.go, and orchestrator failure paths (metrics/log parsing, update info), plus dry-run behavior, bundling/dispatch error scenarios, context cancellation, and edge-case handling. - Dependency update: Bump
filippo.io/agefrom 1.2.1 → 1.3.1.
Overall: safer preflight checks, clearer error semantics, more predictable logs, and stronger regression protection.