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

Improve Pipeline error handling #400

Merged
merged 2 commits into from
Mar 7, 2024
Merged

Conversation

gabrielmbmb
Copy link
Member

Description

This PR improves the Pipeline error handling when the process function of a Step fails:

  1. If the step is a GeneratorStep, then the execution of the pipeline will be stopped.
  2. If the step is a GlobalStep, then the execution of the pipeline will be stopped.
  3. If the step is a Step, then the output batch will be empty, effectively skipping the data.

@gabrielmbmb gabrielmbmb added the enhancement New feature or request label Mar 7, 2024
@gabrielmbmb gabrielmbmb self-assigned this Mar 7, 2024
@gabrielmbmb gabrielmbmb linked an issue Mar 7, 2024 that may be closed by this pull request
@gabrielmbmb gabrielmbmb merged commit 4d94856 into core-refactor Mar 7, 2024
4 checks passed
@gabrielmbmb gabrielmbmb deleted the pipeline_error_handling branch March 7, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve error handling at Pipeline level
1 participant