Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix DAG run state not updated while DAG is paused (#16343)
The state of a DAG run does not update while the DAG is paused. The tasks continue to run if the DAG run was kicked off before the DAG was paused and eventually finish and are marked correctly. The DAG run state does not get updated and stays in Running state until the DAG is unpaused. This change fixes it by running a check on task exit to update state(if possible) of the DagRun if the task was able to finish the DagRun while the DAG is paused Co-authored-by: Ash Berlin-Taylor <ash_github@firemirror.com>
- Loading branch information
1 parent
d53371b
commit 3834df6
Showing
2 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters