Repository navigation
feat: retry only the failed items of an operation - #115
Merged
Merged
Conversation
nextestudios
force-pushed
the
feature/19-retry-failed-items
branch
3 times, most recently
from
September 27, 2026 02:57
2aa346b to
1c1267f
Compare
Item results now carry their source and target folder, and interrupted file operations report the remaining items as not processed. The result dialog and operation details offer "Tentar de novo só as falhas", which builds new requests from Failed/NotProcessed items only (extraction: same destination, selected entries only). Succeeded items are never redone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
nextestudios
force-pushed
the
feature/19-retry-failed-items
branch
from
September 27, 2026 02:59
1c1267f to
1d9e07d
Compare
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.
Summary
ItemResultnow carriesSourcePathandTargetFolder(init-only, no positional change) plusNeedsRetry(Failed, NotProcessed, or interrupted at a conflict).FileOperationServicetags every result with its source and intended target folder, and when an operation is cancelled or hits a fatal error it reports the items it never reached asNotProcessed(top level and inside folders). A folder cancelled at its own conflict is now reported too.FileOperationRequest.LeftoverSourceFolders, never deletes files or links).Tests
Retry_failed_items_copies_only_the_locked_file_into_its_subfolder: folder copy with one locked file, retry failed items; only that file is copied intoDestino/Pasta, the already-copied file is not touched (a conflict would hang the test), and the new result has a single item.Retry_failed_items_of_a_cancelled_extraction_only_extracts_what_was_left: cancel at a conflict, retry; only the interrupted and not-processed entries run.Cancelling_at_a_conflict_reports_the_remaining_items_as_not_processed_with_their_sources(engine).Closes #19
🤖 Generated with Claude Code