cs-grrolim opened a new issue, #8293:
URL: https://github.com/apache/incubator-devlake/issues/8293

   ### 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
   
   I had some pipelines being reported as PRODUCTION deployment on DORA charts 
even when the deployment tasks were skipped. (Actually, all tasks were skipped).
   After investigating the source code, it was clear that tasks resulting in a 
skipped state were being classified as failures.
   
   Screenshots available at: 
[`question`](https://github.com/apache/incubator-devlake/issues/8291)
   
   ### What do you expect to happen
   
   Skipped tasks should not be classified as RESULT_DEFAULT not Failure, and be 
ignored when calculating metrics
   
   ### How to reproduce
   
   Create a deployment pipeline, add a task that is understood as deploymento 
to production with a condition that will fail.
   Run the pipeline and verify that the task was skipped 
   When checking the DORA Validation dashboard, you can see the pipeline is 
marked as success with a production environment
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v1.0.1@e061ef2
   
   ### 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: dev-unsubscr...@devlake.apache.org.apache.org

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

Reply via email to