ZenML · Arazzo Workflow
ZenML Monitor Pipeline Run
Version 1.0.0
Find the latest run of a pipeline, poll its status to completion, and branch on success or failure.
Provider
Workflows
monitor-pipeline-run
Locate a pipeline's latest run and poll it until it reaches a terminal status.
Lists runs for the supplied pipeline, reads the most recent run, and polls that run until its status is completed, failed, cached, or stopped, then branches on the outcome.
1
findLatestRun
listPipelineRuns
List runs for the pipeline, newest first, so the most recent run can be selected for monitoring.
2
pollRun
getPipelineRun
Read the run and inspect its status. While the run is still initializing or running, loop back to re-read it; once it reaches a terminal status, branch on whether it completed successfully or not.
3
reportSuccess
getPipeline
Read the parent pipeline for a successful run to surface its name and version alongside the terminal run status.
4
reportFailure
getPipeline
Read the parent pipeline for a failed or stopped run so the failure can be reported against a named pipeline.