-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(workflow): consider workflow when completing work items
This fixes two issues: 1) When completing a work item, we didn't consider it's associated workflow when searching for sibling tasks. This means that if the same task is used in multiple workflows, task flows used in any of those workflows would be evaluated. 2) When completing a "leaf" work item (i.e. no attached flows) we only checked if all sibling work items are complete. However, we have to check if _any_ work items are still open ("READY") before we can complete a workflow.
- Loading branch information
Showing
2 changed files
with
83 additions
and
30 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