Enable pause/resume and progress tracking for bulk actions - #4
Merged
Conversation
Co-authored-by: Shinoa <87525178+adxptived@users.noreply.github.com>
- journal: new module appending tab-separated records (timestamp, action, ok|error, path) to %LOCALAPPDATA%\zap\journal.log after every real run in CLI and GUI; best-effort, never fails a deletion; opt out with --no-journal or ZAP_NO_JOURNAL=1 - stop: pause/resume flags with wait_if_paused() checkpoint (single atomic load when not paused); stop always wins over pause; checkpoints added to the scan feeder, batched deletion loops and bulk file deletion - zapg: Pause/Resume button next to Stop; paused time excluded from the elapsed timer and the final duration; status line shows Paused state - zapg: per-root sizes now come from the same background pass as the size badge (no extra directory walks) and drive byte-weighted aggregate progress plus a new ETA readout - much more accurate on mixed selections (many small files + a few huge folders); O(n) per frame via HashMap - stop tests serialized with a mutex (they mutate process-global atomics) Co-authored-by: v0 <it+v0agent@vercel.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bulk Action Controls
Progress & Monitoring
v0 Session