Repository navigation
Conversation
Collaborator
Collaborator
Collaborator
Collaborator
Collaborator
- 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.
fix(import): resume failed imports and skip finished or half-parsed ones
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.





You can visit an import's page in /wikify after a killed run and open Actions to see it.
Fixes #22
#86 merged into #85's branch after #85 had merged, so this ports it to main.
Before
After
Verification
wikify_import:<name>), so resume uses that id instead of the separate parse/remediate ids from fix(remediate): save canonical pages in batches and resume a killed run #86.test_killed_run_keeps_saved_batches_and_resume_skips_themfails on main (0 != 1) and passes here; the 4TestResumeImporttests error on main (5 errors) and pass here.[test]import with a batch size of 2 had its job processSIGKILLed at page 5 (pages 1-4 saved, status stayed Remediating). "Resume import" showed in Actions; clicking it ran pages 5-6 only on the same Source Document and the page moved to Review live. The page model, cleanup and judge calls were stubbed (the devbox has no model key).