-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Rust: Reduce CI noise from the SummaryStats query #19180
Conversation
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.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (11)
- rust/ql/integration-tests/hello-project/summary.expected: Language not supported
- rust/ql/integration-tests/hello-project/summary.qlref: Language not supported
- rust/ql/integration-tests/hello-workspace/summary.cargo.expected: Language not supported
- rust/ql/integration-tests/hello-workspace/summary.qlref: Language not supported
- rust/ql/integration-tests/hello-workspace/summary.rust-project.expected: Language not supported
- rust/ql/src/queries/summary/Stats.qll: Language not supported
- rust/ql/src/queries/summary/SummaryStats.ql: Language not supported
- rust/ql/src/queries/summary/SummaryStatsLess.ql: Language not supported
- rust/ql/test/query-tests/diagnostics/SummaryStats.qlref: Language not supported
- rust/ql/test/query-tests/diagnostics/SummaryStatsLess.expected: Language not supported
- rust/ql/test/query-tests/diagnostics/SummaryStatsLess.qlref: Language not supported
Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more
* @description A table of summary statistics about a database, with data that | ||
* has been found to be noisy on tests removed. | ||
* @kind metric | ||
* @id rust/summary/summary-statistics-less |
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.
SummeryStatsReduced.ql
and ust/summary/summary-statistics-reduced
instead?
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.
Yes I think I like that a bit more. Updated.
rust/ql/test/query-tests/diagnostics/SummaryStatsReduced.qlref
Dismissed
Show dismissed
Hide dismissed
Finally fixed all the problems with this (including working around an issue with the DCA run). Thanks for your patience! |
Reduce CI noise from the SummaryStats query:
SummaryStats.ql
into predicates inStats.qll
.SummaryStatsLess.ql
that is a cut down version - it doesn't include the frequently fluctuating element and taint stats.This should greatly reduce the amount of effort we spend chasing up benignly failing CI tests.
Please let me know if you can think of a better name for
SummaryStatsLess.ql
.