Skip to content

fix(import): resume failed imports and skip finished or half-parsed ones - #128

Merged
vishwajeet-13 merged 1 commit into
bwhtech:fix/remediate-batch-save-portfrom
vishwajeet-13:fix/resume-import-edge-cases
Oct 10, 2026
Merged

vishwajeet-13 merged 1 commit into
bwhtech:fix/remediate-batch-save-portfrom
vishwajeet-13:fix/resume-import-edge-cases

Conversation

@vishwajeet-13

Copy link
Copy Markdown
Collaborator

Fixes the 4 resume problems from the review on #126.

  1. An import marked Failed (by the stalled check, or by a job timeout) can now be resumed if it still has unfinished pages.
  2. Resume is not offered when every page is already remediated. Before, a killed "Remediate all pages" run showed Resume, skipped every page and said Done.
  3. Re-parsing deletes the half-parsed Source Document first, so there is no second copy.
  4. The stalled error says "Click Resume import to continue" when it can continue.

Screenshots

Killed and then marked Failed: Resume is still there

After Resume: only pages 11-25 are redone, then Review

Job timeout: Resume is there

Killed "Remediate all pages" run: no fake Resume

Killed while parsing, then resumed: one Source Document

- Failed imports with unfinished pages (stall check, job timeout) can be resumed.
- Resume is no longer offered when every page is already remediated.
- Re-parsing deletes the half-parsed Source Document first.
- The stalled error points to Resume when the import can continue.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@vishwajeet-13
vishwajeet-13 merged commit 3548afe into bwhtech:fix/remediate-batch-save-port Oct 10, 2026
7 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