SC-49820 Severity metrics decoration - #583
Conversation
4165390 to
a306406
Compare
a306406 to
022082c
Compare
stanislavhh
left a comment
There was a problem hiding this comment.
Overall looks good, small suggestion, and given that we introduced new measure type, it will be a good idea to verify that measure is rendered in html as expected (comparator, measure name)
184aa3e to
f44cf6b
Compare
|
antoine-vinot-sonarsource
left a comment
There was a problem hiding this comment.
@OrlovAlexander85 Quick heads-up. I'm trying to validate the changes from a functional point of view, because our ITs don't handle the fail QG scenario I believe. However I faced some issues (not related to your changes) when trying it on a Dev environment.
Please bear with me a little bit more 🙏
There was a problem hiding this comment.
I tried it out and the change works for the formatted evaluation at the start of the line. However, the required threshold is not properly formatted because it shows "one less" than the value associated to the given severity.
See my screenshot below: I set up the QG to INFO level, hence it show required <= 4 and not required < INFO (Or whatever we want there)
|
@antoine-vinot-sonarsource Thanks a lot for doing functional validation. |
antoine-vinot-sonarsource
left a comment
There was a problem hiding this comment.
LGTM!
@OrlovAlexander85 The pipeline failed because of some timeout when publishing the test extension. It's a known thing for which I did not find a solution yet sadly. You might need to retrigger a new pipeline, as rerunning the failed one won't work I think.
a90d658 to
86bfb5e
Compare
|
|
|
Hey @antoine-vinot-sonarsource , once again thanks a lot for validation. I rerun the pipeline and all checks are green and PR is ready to be merged. |
Code Review ✅ Approved 1 resolved / 1 findingsImplements severity metrics decoration for project analysis, though the removal of existing tests leaves this feature currently untested. ✅ 1 resolved✅ Quality: Severity formatter tests and snapshots removed, leaving feature untested
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |




Adding formatters for new Severity Metrics Conditions