-
Notifications
You must be signed in to change notification settings - Fork 38
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
Only fetch unresolved issues #177
base: master
Are you sure you want to change the base?
Conversation
Actually, this PR may still have some issues. Working through them now. Please do not merge yet. |
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.
Please add at least one automated test
ed23ada
to
4f06e7b
Compare
@reda-alaoui, this has been fully tested locally now and resolves our issue nicely. I've also added an automated test to verify the requests that are being sent to SonarQube. Please review when you are able. |
@mtughan , unit tests have low value in this case. Please write an integration test instead. |
4f06e7b
to
ff51ef2
Compare
Testing an integration test now. Will request review again when I've confirmed it as working (am having issues running it locally). |
cf6f65c
to
4b63ea9
Compare
@reda-alaoui,
|
@mtughan , I am currently investigating this. |
85ea4cf
to
1e14fc8
Compare
When fetching issues from SonarQube, we should only fetch unresolved issues. This will avoid showing issues which were discovered in previous runs with the same "PR" ID but have since been resolved and are no longer issues.
a78ba17
to
1fd7e2d
Compare
1fd7e2d
to
e0347b1
Compare
As a user of this plugin, I'd like to cast my support for this PR. It would be great if it avoided posting comments for resolved issues. :) |
When fetching issues from SonarQube, we should only fetch unresolved issues. This will avoid showing issues which were discovered in previous runs with the same "PR" ID but have since been resolved and are no longer issues.
Testing done
Tested manually in our local environment.
Submitter checklist