-
Notifications
You must be signed in to change notification settings - Fork 2
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
FEA-2796: Occurrence Diagnostics #94
Conversation
Security InsightsNo security relevant content was detected by automated scans. Action Items
Questions or Comments? Reach out on Slack: #support-infosec. |
Should/could we update the snapshots to test the population of these diagnostics? |
Unfortunately the snapshot command doesn't include diagnostics in what it writes I considered writing my own (could even just be a json output thing), but its a bit more of a lift than I wanted to do for this PR. Happy to reconsider if you think that would be valuable |
Nope that's fine with me - diagnostics are just extra, so as long as they don't break the generation in the first place, I'm fine not including them in the tests if it's a bigger lift |
👍 The existing snapshot tests, and my integration tests should cover that breakage case: https://github.com/Workiva/scip-dart/actions/runs/6598256582/job/17926049013?pr=94 I would like to get some tests to cover that though, I'll create a ticket for it so I dont forget |
Ticketed #98 |
QA +1
🚀 @Workiva/release-management-p 🚢 |
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.
+1 from RM
FEA-2796
Populates the
diagnostics
field on Occurrences: https://github.com/sourcegraph/scip/blob/main/scip.proto#L579 with data from the dart analyzerNow that sourcegraph has fixed their gql provider for retrieving this diagnostic data: https://github.com/sourcegraph/sourcegraph/issues/56904, this data has become more helpful, and we should start populating it