-
Notifications
You must be signed in to change notification settings - Fork 5k
[Improvement][Task] Split ExecutionStatus for workflow and task respectively #11145
Copy link
Copy link
Closed
Labels
backendimprovementmake more easy to user or prompt friendlymake more easy to user or prompt friendly
Description
Search before asking
- I had searched in the issues and found no similar feature requirement.
Description
- As discussed in [Improvement][Metrics] Switch to use tags to indicate task / workflow execution status for metrics #11128 (comment), currently
ExecutionStatusis both forworkflowandtask. - We need to split it for
workflowandtaskrespectively and remove those deprecated states.
Lines 27 to 68 in 011040f
| public enum ExecutionStatus { | |
| /** | |
| * status: | |
| * 0 submit success | |
| * 1 running | |
| * 2 ready pause | |
| * 3 pause | |
| * 4 ready stop | |
| * 5 stop | |
| * 6 failure | |
| * 7 success | |
| * 8 need fault tolerance | |
| * 9 kill | |
| * 10 waiting thread | |
| * 11 waiting depend node complete | |
| * 12 delay execution | |
| * 13 forced success | |
| * 14 serial wait | |
| * 15 ready block | |
| * 16 block | |
| * 17 dispatch | |
| */ | |
| SUBMITTED_SUCCESS(0, "submit success"), | |
| RUNNING_EXECUTION(1, "running"), | |
| READY_PAUSE(2, "ready pause"), | |
| PAUSE(3, "pause"), | |
| READY_STOP(4, "ready stop"), | |
| STOP(5, "stop"), | |
| FAILURE(6, "failure"), | |
| SUCCESS(7, "success"), | |
| NEED_FAULT_TOLERANCE(8, "need fault tolerance"), | |
| KILL(9, "kill"), | |
| WAITING_THREAD(10, "waiting thread"), | |
| WAITING_DEPEND(11, "waiting depend node complete"), | |
| DELAY_EXECUTION(12, "delay execution"), | |
| FORCED_SUCCESS(13, "forced success"), | |
| SERIAL_WAIT(14, "serial wait"), | |
| READY_BLOCK(15, "ready block"), | |
| BLOCK(16, "block"), | |
| DISPATCH(17, "dispatch"), | |
| ; |
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
backendimprovementmake more easy to user or prompt friendlymake more easy to user or prompt friendly