Skip to content
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

Move & rename the files from Suppression to Synchronization folder #5045

Conversation

georgii-borovinskikh-sonarsource
Copy link
Contributor

Preparation step before replacing IsSuppressed with ServerIssue in IAnalysisIssueVisualization

Fixes #5044
Part of #5040

…older

Preparation step before replacing IsSuppressed with ServerIssue in IAnalysisIssueVisualization
@georgii-borovinskikh-sonarsource georgii-borovinskikh-sonarsource changed the title Move & rename most of the files from Suppression to Synchronization folder Move & rename the files from Suppression to Synchronization folder Nov 23, 2023
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 9 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@@ -122,13 +122,12 @@ public async Task UpdateFileStorageAsync()
Debug.Assert(fullSolutionFilePath != null, "Not expecting the solution name to be null in Connected Mode");
var solnNameWithoutExtension = System.IO.Path.GetFileNameWithoutExtension(fullSolutionFilePath);

var allSuppressedIssues = serverIssuesStore.Get();
var allSuppressedIssues = serverIssuesStore.Get().Where(x => x.IsResolved);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here's a logic change I think this change requires some tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's covered by the existing tests. I just moved this LINQ call from one place to the other.

Copy link
Contributor

@ugras-ergun-sonarsource ugras-ergun-sonarsource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some testing might be needed

@georgii-borovinskikh-sonarsource
Copy link
Contributor Author

We decided to go with a different approach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants