-
Notifications
You must be signed in to change notification settings - Fork 36
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
RunStatus of mlflow run is "FINISHED" instead of "FAILED" when the kedro run fails #121
Comments
Good catch ! |
Yes, but we need to terminate the run manually when it failed and one use it interactively (in CLI, tis makes no difference because it gets the error code as you say) to avoid further interference. |
Description
When I launch
kedro run
and the run fails, theon_pipeline_error
closes all the mlflow runs (to avoid interactions with further runs)Context
I cannot distinguish failed runs from sucessful ones in the mlflow ui.
Steps to Reproduce
Launch a failing pipeline with kedro run.
Expected Result
The mlflow ui should display the run with a red cross
Actual Result
The mlflow ui displays the run with a green tick
Does the bug also happen with the last version on develop?
Yes.
Potential solution:
Replace these lines:
https://github.com/Galileo-Galilei/kedro-mlflow/blob/63dcd501bfe98bebc81f25f70020ff4141c1e91c/kedro_mlflow/framework/hooks/pipeline_hook.py#L193-L194
with
or even better, retrieve current run status from mlflow?
The text was updated successfully, but these errors were encountered: