Closed pankajastro closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
e088bdd
) 98.28% compared to head (ac900b1
) 98.33%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Sensor expects external_dag_id as a required param and external_task_id as an optional param if external_task_id is provided then it monitors a task instance of task external_task_id otherwise monitors the overall status of external_dag_id.
Once the sensor execution starts it fetches the dag run for external_dag_id with status running or queued if found then waits for it to succeed or fail in the trigger component. if not found then return immediately and mark it a success.
~TODO;~
Assumption
When this sensor starts running it assumes that the dag it is monitoring is either in a running or queued state