You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "Startrekzky (via GitHub)" <gi...@apache.org> on 2023/01/29 11:16:12 UTC

[GitHub] [incubator-devlake] Startrekzky commented on issue #4241: [Bug][UI] The "Tasks Completed" counter can exceed the total

Startrekzky commented on issue #4241:
URL: https://github.com/apache/incubator-devlake/issues/4241#issuecomment-1407634324

   @keon94 @klesh `Task Completed` is for users to understand if `all tasks of a pipeline have been successfully finished`, rather than the actual number of tasks being successfully run. According to this:
   - The denominator should be the number of a pipeline's default tasks
   - The numerator should be the successful tasks of a pipeline's default tasks (if rerunning a default task, the new task and its original copy should be considered as the same task)
   
   For example, if a pipeline has 7 default tasks. Then the denominator should always be 7。
   - If 2 tasks failed, then the task completed should be 5/7. When rerunning the 2 failed tasks and 1 succeeds, the number will be 6/7.
   - If 7 tasks all passed, then the task completed should be 7/7. When rerunning 1 task and it succeeds, the number will still be 7/7.
   
   I hope it makes sense.


-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org