Skip to content

Comments

Sync dev to main#111

Merged
tis24dev merged 6 commits intomainfrom
dev
Jan 16, 2026
Merged

Sync dev to main#111
tis24dev merged 6 commits intomainfrom
dev

Conversation

@tis24dev
Copy link
Owner

  • Add detailed debug logging to backup source selection
  • Refactor interactive input handling and prompt APIs
  • Refactor support mode logic into internal/support package
  • Improved test coverage for restore/decrypt (bundle + raw, deterministic rclone)

Enhanced the backup source selection and scanning logic with granular debug logging for better traceability. Refactored functions to accept a logger parameter, updated TUI workflows to propagate logging, and improved error handling and reporting throughout the backup discovery and extraction processes. Adjusted tests to match new function signatures.
Moves interactive input logic (line/password reading, error mapping) to a new internal/input package, replacing duplicated code in CLI and orchestrator modules. Refactors prompt and prompter APIs to accept context for cancellation, updates all usages and tests, and improves error normalization for user-aborted input. Adds process-wide abort context support for TUI. This change improves consistency, testability, and graceful shutdown handling across all interactive workflows.
Moved support mode interactive prompts and email logic from main.go to a new internal/support package for better modularity and maintainability. Updated CLI help and documentation to clarify that --support is available for both standard backup and --restore. Adjusted main.go to use the new support package and improved handling of support metadata and stats during restore workflows.
…ic rclone)

Added and updated tests to validate the new “always scan bundle and non-bundle” behavior (including rclone), made candidate ordering deterministic, and removed/adjusted legacy assumptions about cloud pre-scan hiding and mandatory raw checksum sidecars.
Repository owner deleted a comment from codecov bot Jan 16, 2026
Add SimulationScreen-driven TUI tests and a stub hook for RunRestoreWorkflow to prevent coverage regressions and raise overall orchestrator coverage while keeping the suite stable and fast.
Add unit tests for internal/input and expand encryption.go coverage by testing exported helpers, abort/error mapping, recipient file IO (including failure paths), and key wizard/recipient preparation branches.
@tis24dev tis24dev merged commit c87b63c into main Jan 16, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant