Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix batches so that retried-and-successful jobs leave the batch succeeded #1243

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

bensheldon
Copy link
Owner

Fixes #1239.

When #928 was implemented, I overlooked how reusing the execution/job record would interact with batches. This ensures that only when the job is finished (not just retried once or more) will the batch's discard callback be evaluated.

@bensheldon bensheldon merged commit 703ebe6 into main Feb 12, 2024
20 checks passed
@bensheldon bensheldon deleted the batch_callbacks branch February 12, 2024 05:10
@bensheldon bensheldon added the bug Something isn't working label Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

Successfully merging this pull request may close these issues.

Batch callbacks not run when job fails, then succeeds
1 participant