In the context of a pull request, the current gate will not fail if code coverage decreases. This feature request (linked above) proposes a quality gate that ensures certain metrics, such as code coverage, can only improve (i.e., coverage can only increase and not decrease) as a result of changes.
Colin
(Colin)
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Ratcheting Quality Gate conditions: Fail Quality Gate if coverage decreases from last analysis | 27 | 5389 | March 9, 2026 | |
| Gate passes although it shouldn't | 7 | 417 | June 7, 2023 | |
| Keep code coverage non decreased after pull requestes | 3 | 2480 | November 17, 2021 | |
| New lines in PR aren't lines of code? | 13 | 1250 | December 13, 2019 | |
| Quality gate option: overal coverage can't be lower after merge | 3 | 486 | April 19, 2023 |