keon94 opened a new issue, #4241:
URL: https://github.com/apache/incubator-devlake/issues/4241

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   Rerunning a task caused the counter to go over the total task count.
   
   
![image](https://user-images.githubusercontent.com/25063936/213611100-6ef0ccb3-137c-4d62-b94b-649c618bcf3f.png)
   
   
   ### What do you expect to happen
   
   The counter should not exceed the total task count.
   
   ### How to reproduce
   
   Pick any pipeline and run it. Then rerun any of its tasks, and this will 
happen. I tried Jenkins and Github.
   
   ### Anything else
   
   I believe the correct behavior should be to only change the counter if a 
previously failed job succeeds (+1) or a previously successful job fails (-1). 
Otherwise, leave it alone.
   
   ### Version
   
   main
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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