-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SLCORE-1026 SonarLint is aligned with the custom/new severity for issues #1162
SLCORE-1026 SonarLint is aligned with the custom/new severity for issues #1162
Conversation
3304a7c
to
a7d7b17
Compare
a7d7b17
to
06f5847
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks mostly good but I left some comments related to how you handle the event, this might need some more work
backend/core/src/main/java/org/sonarsource/sonarlint/core/issue/IssueService.java
Outdated
Show resolved
Hide resolved
backend/core/src/main/java/org/sonarsource/sonarlint/core/issue/IssueService.java
Outdated
Show resolved
Hide resolved
...main/java/org/sonarsource/sonarlint/core/serverapi/push/parsing/IssueChangedEventParser.java
Show resolved
Hide resolved
@@ -192,8 +192,10 @@ private static ServerIssue adapt(Entity storedIssue) { | |||
var creationDate = (Instant) requireNonNull(storedIssue.getProperty(CREATION_DATE_PROPERTY_NAME)); | |||
var userSeverity = (IssueSeverity) storedIssue.getProperty(USER_SEVERITY_PROPERTY_NAME); | |||
var type = (RuleType) requireNonNull(storedIssue.getProperty(TYPE_PROPERTY_NAME)); | |||
var impacts = readImpacts(storedIssue.getBlob(IMPACTS_BLOB_NAME)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Be aware that for issues we have an incremental update with the pull mechanism. It means no impacts will be returned for all issues that are already stored. For such changes, we might want at some point to force a re-download of all issues. We had a similar case with SLCORE-441
backend/core/src/main/java/org/sonarsource/sonarlint/core/issue/IssueService.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/sonarsource/sonarlint/core/tracking/TaintVulnerabilityTrackingService.java
Outdated
Show resolved
Hide resolved
de2ca5a
to
ed2759d
Compare
ed2759d
to
cbb7fe5
Compare
backend/commons/src/main/java/org/sonarsource/sonarlint/core/commons/SoftwareQuality.java
Show resolved
Hide resolved
...main/java/org/sonarsource/sonarlint/core/serverapi/push/parsing/IssueChangedEventParser.java
Outdated
Show resolved
Hide resolved
6461a9d
to
c01f756
Compare
Quality Gate passedIssues Measures |
SLCORE-1026