Why does dismissing a CodeQL alert trigger a postback? #54547
Replies: 4 comments 14 replies
-
Hey @chris-jenkinson, |
Beta Was this translation helpful? Give feedback.
-
Could you please let us know if the alerts you were dismissing and were causing the whole page reload were in the unchanged files? |
Beta Was this translation helpful? Give feedback.
-
This problem seems to be happening again. It is happening in added files. It's in a private repo so I can't give you a link. |
Beta Was this translation helpful? Give feedback.
-
+1. In C++, CodeQL has some false positives and purposely adds a lot of "Check notices" which, AFAIK, are intended to be dismissed, yet dismissing a single alert takes far more time that it should due to the page refreshing. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Product Feedback
Body
It's incredibly common in a pull request for CodeQL to find false positives in unit tests. To get to a "clean" review, I'm flagging these alerts as false positives. Unfortunately, the Dismiss Alert button triggers a postback, taking me to the top of the pull request, requiring me to scroll back down to wherever I was at in the PR. This is a time consuming activity for even medium PRs, making me more likely to just ignore CodeQL alerts rather than address them.
Beta Was this translation helpful? Give feedback.
All reactions