Skip to content

Conversation

@hvitved
Copy link
Contributor

@hvitved hvitved commented Feb 10, 2026

Before this PR, each scan would end with a summary like

|                            Metric                            |    Value     |
+--------------------------------------------------------------+--------------+
| Total number of Rust files that were extracted without error |           50 |
| Summary Statistics                                           | (28 results) |
| Nodes With Type At Length Limit                              |            4 |
| Summary Statistics Reduced                                   | (16 results) |
| Total number of Rust files that were extracted with errors   |            0 |
| Query Sink Counts                                            |  (5 results) |

Now, it instead ends with

|                            Metric                            | Value |
+--------------------------------------------------------------+-------+
| Total number of Rust files that were extracted without error |    50 |
| Total number of Rust files that were extracted with errors   |     0 |

I don't think the removed rows provide any relevant information, hence this PR. I'm unsure, though, whether this will break something in the tool status page?

@github-actions github-actions bot added the Rust Pull requests that update Rust code label Feb 10, 2026
@hvitved hvitved added the no-change-note-required This PR does not need a change note label Feb 10, 2026
@hvitved hvitved marked this pull request as ready for review February 10, 2026 11:58
@hvitved hvitved requested a review from a team as a code owner February 10, 2026 11:58
@hvitved hvitved requested review from Copilot and geoffw0 February 10, 2026 11:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts metadata on several Rust “summary” metric queries so they’re additionally tagged as telemetry, which (per the PR description) reduces what appears in the end-of-scan summary table.

Changes:

  • Add the telemetry tag to rust/summary/summary-statistics.
  • Add the telemetry tag to rust/summary/reduced-summary-statistics.
  • Add the telemetry tag to rust/summary/query-sink-counts and rust/summary/nodes-at-type-path-length-limit.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
rust/ql/src/queries/summary/SummaryStatsReduced.ql Adds telemetry to the query tags.
rust/ql/src/queries/summary/SummaryStats.ql Adds telemetry to the query tags.
rust/ql/src/queries/summary/QuerySinkCounts.ql Adds telemetry to the query tags.
rust/ql/src/queries/summary/NodesWithTypeAtLengthLimit.ql Adds telemetry to the query tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant