Skip to content

Improve deletion progress responsiveness and preview speed - #1

Merged
adxptived merged 1 commit into
masterfrom
hyperagent/anti-freeze-preview-progress
Jun 25, 2026
Merged

Improve deletion progress responsiveness and preview speed#1
adxptived merged 1 commit into
masterfrom
hyperagent/anti-freeze-preview-progress

Conversation

@adxptived

@adxptived adxptived commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Keep streamed delete progress visibly updating while file deletion overlaps with directory scanning, so large deletes do not appear frozen after scan progress stalls.
  • Add --no-size-preview to skip expensive confirmation-preview size calculations for huge directory trees.
  • Add a bulk top-level file delete path for large selections, avoiding one worker/progress item per file when deleting thousands of selected files.
  • Reuse the bulk engine from the GUI for large top-level file selections while preserving symlink handling, shred behavior, cancellation, and per-file error reporting.
  • Document the new preview flag and bulk-file performance behavior in the README.
  • Add parser and bulk-delete test coverage plus updated CliOptions test helper construction.

Verification

  • git diff --check passed in the sandbox.
  • Static compile-oriented review of changed CliOptions construction sites and bulk-delete safety gates completed.
  • Could not run cargo fmt, cargo clippy, or cargo test because Cargo is not installed in this sandbox (cargo: command not found).

@adxptived
adxptived merged commit 751e123 into master Jun 25, 2026
3 of 4 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