Join the Kedro community

M
M
M
D
M

Knowing pipeline run status in a Kedro project

Hey Team a very naive question. How can we know if a pipeline ran successfully. So basically, I would like to record the status of each pipeline run as success or Failure. I wanted to know the best way to have it in a kedro project.

M
V
N
4 comments

It's successful if there's no errors and you'll get the following logging message: " Pipeline execution completed successfully."

Yeaah i can see this message on my console, but if the pipeline is running in a production environment , how do i declare the run was successful and save the Success status in database. Do you suggest to look for this specific message in the log file and then take the action.

May I introduce you the Hook feature? This is something very useful when you want to extend on Kedro.

For example, there is a hook called `after_pipeline_run , which is probably exactly what you need :)

Add a reply
Sign up and join the conversation on Slack
Join