Repository navigation
feat: add retry logic for normalization errors - BED-10545 - #123
Conversation
|
No actionable comments were generated in the recent review. WalkthroughThe converter now retries eligible normalization worker-pool failures by resuming retained packages with one worker. The recovery helper validates pending packages, restores worker configuration, and loads the result. Tests and documentation cover the fallback and its limits. ChangesNormalization Recovery
Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant Converter
participant BasePipelineRun as BasePipeline._run
participant RetryCheck as can_retry_normalization
participant Resume as resume_pending_pipeline
participant DltPipeline
Converter->>BasePipelineRun: Pass pipeline step failure
BasePipelineRun->>RetryCheck: Check failure eligibility
RetryCheck-->>BasePipelineRun: Return eligibility result
BasePipelineRun->>Resume: Resume with one normalization worker
Resume->>DltPipeline: Normalize pending extracted packages
Resume->>DltPipeline: Load pending packages
Possibly related PRs
Suggested reviewers: Merge Risk:
|
3dd9bd9 to
0120b26
Compare
Adds a check for a normalization error that may occur, and attempt to lower the resources in a response to a possible OOM error that is occuring. This is a gaurded retry for a simple collection.
Stack created with GitHub Stacks CLI • Give Feedback 💬
Summary by CodeRabbit