-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PipelineRunState cleanup: tests + comments
This commit cleans up PipelineRunState logic in preparation for a subsequent commit affecting retries. It adds tests for DAGExecutionQueue and ensures that that function does not return any results if the PipelineRun is cancelled, since we do not want to continue to schedule tasks if the PipelineRun is cancelled. (This is already documented and implemented elsewhere.) It also fixes comments to correctly describe the behavior of GetFinalTasks No functional changes.
- Loading branch information
1 parent
2c025fb
commit e055233
Showing
2 changed files
with
195 additions
and
19 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