Skip to content

BatchLoader: re-raise exceptions stored as results#78

Merged
koenvo merged 1 commit intomainfrom
feature/batch-loader-error-propagation
Apr 22, 2026
Merged

BatchLoader: re-raise exceptions stored as results#78
koenvo merged 1 commit intomainfrom
feature/batch-loader-error-propagation

Conversation

@koenvo
Copy link
Copy Markdown
Contributor

@koenvo koenvo commented Apr 22, 2026

When a batch loader_fn stores an Exception instead of a DraftFile for a specific item, call re-raises it. This lets successful items in a batch proceed while failed items cause their individual tasks to fail (and be retried on the next run), instead of silently storing empty data.

When a batch loader_fn stores an Exception instead of a DraftFile for a
specific item, __call__ re-raises it. This lets successful items in a
batch proceed while failed items cause their individual tasks to fail
(and be retried on the next run), instead of silently storing empty data.
@koenvo koenvo merged commit 1c0edc8 into main Apr 22, 2026
13 checks passed
@koenvo koenvo deleted the feature/batch-loader-error-propagation branch April 22, 2026 08:34
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