-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: add new compute tasks status linked to function status (#366)
## Companion PR - Substra/substra-backend#823 - Substra/substra-tests#319 - Substra/substra#397 - Substra/substra-frontend#297 - Substra/substra-documentation#390 ## Description <!-- Please reference issue if any. --> <!-- Please include a summary of your changes. --> Fixes of FL-1397 ## How has this been tested? <!-- Please describe the tests that you ran to verify your changes. --> ## Checklist - [x] [changelog](../CHANGELOG.md) was updated with notable changes - [ ] documentation was updated --------- Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
- Loading branch information
1 parent
637103c
commit b71e4ee
Showing
20 changed files
with
399 additions
and
305 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,36 @@ | ||
stateDiagram-v2 | ||
WAITING --> TODO | ||
WAITING --> CANCELED | ||
WAITING --> FAILED | ||
TODO --> FAILED | ||
TODO --> DOING | ||
TODO --> CANCELED | ||
DOING --> FAILED | ||
DOING --> DONE | ||
DOING --> CANCELED | ||
DONE --> [*] | ||
FAILED --> [*] | ||
CANCELED --> [*] | ||
waitingBuilding: WAITING_FOR_BUILDER_SLOT | ||
building: BUILDING | ||
waitingParent: WAITING_FOR_PARENT_TASKS | ||
waitingExecutor: WAITING_FOR_EXECUTOR_SLOT | ||
doing: DOING | ||
canceled: CANCELED | ||
failed: FAILED | ||
done: DONE | ||
|
||
|
||
[*] --> waitingBuilding | ||
[*] --> building | ||
[*] --> waitingParent | ||
[*] --> waitingExecutor | ||
[*] --> failed | ||
[*] --> canceled | ||
|
||
waitingBuilding --> building | ||
building --> waitingParent | ||
waitingParent --> waitingExecutor | ||
waitingExecutor --> doing | ||
doing --> done | ||
done --> [*] | ||
|
||
|
||
building --> failed | ||
doing --> failed | ||
failed --> [*] | ||
|
||
waitingBuilding --> canceled | ||
building --> canceled | ||
waitingParent --> canceled | ||
waitingExecutor --> canceled | ||
doing --> canceled | ||
canceled --> [*] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
Oops, something went wrong.