caishunfeng opened a new pull request, #11757:
URL: https://github.com/apache/dolphinscheduler/pull/11757

   ## Purpose of the pull request
   
   #11530
   
   This pr just contains backend part, waiting another pr for ui and doc.
   
   ## Brief change log
   
   add state history and desc for workflow instance, like:
   
   ```
   [{
        "time": "2022-08-31 16:05:45",
        "state": "RUNNING_EXECUTION",
        "desc": "init running"
   }, {
        "time": "2022-08-31 16:05:45",
        "state": "RUNNING_EXECUTION",
        "desc": "start a new process"
   }, {
        "time": "2022-08-31 16:05:55",
        "state": "READY_PAUSE",
        "desc": "pause a processby ui"
   }, {
        "time": "2022-08-31 16:06:46",
        "state": "PAUSE",
        "desc": "update by workflow executor"
   }, {
        "time": "2022-08-31 16:07:00",
        "state": "RUNNING_EXECUTION",
        "desc": "recover suspended process"
   }, {
        "time": "2022-08-31 16:07:09",
        "state": "READY_STOP",
        "desc": "stop a processby ui"
   }, {
        "time": "2022-08-31 16:07:09",
        "state": "STOP",
        "desc": "update by workflow executor"
   }, {
        "time": "2022-08-31 16:07:17",
        "state": "RUNNING_EXECUTION",
        "desc": "recover suspended process"
   }, {
        "time": "2022-08-31 16:08:17",
        "state": "SUCCESS",
        "desc": "update by workflow executor"
   }]
   ```
   
   ## Verify this pull request
   
   <!--*(Please pick either of the following options)*-->
   
   This change added tests and can be verified as follows:
   
     - *Manually verified the change by testing locally.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to