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

connectors-ci: hanging step block pipeline completion #28769

Closed
alafanechere opened this issue Jul 27, 2023 · 0 comments · Fixed by #28771
Closed

connectors-ci: hanging step block pipeline completion #28769

alafanechere opened this issue Jul 27, 2023 · 0 comments · Fixed by #28771
Assignees

Comments

@alafanechere
Copy link
Contributor

Under certain scenario a pipeline Step can hang infinitely. This will block the completion of a CI pipeline that will eventually timeout without providing the results of the other step.

Real life example:
The source-file python package install is hanging infinitely due to a pip dependency resolution problem. It makes the nightly build hang:
airbyte-ci connectors --name=source-file test
Screen Shot 2023-07-27 at 10.48.53.png

Solution

Instore a per Step max duration, cancel run_with_completion when the max duration is reached and return a failed StepResult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant