Skip to content

Rust: Update rust/diagnostic/database-quality#21347

Open
geoffw0 wants to merge 3 commits intogithub:mainfrom
geoffw0:toolstatus
Open

Rust: Update rust/diagnostic/database-quality#21347
geoffw0 wants to merge 3 commits intogithub:mainfrom
geoffw0:toolstatus

Conversation

@geoffw0
Copy link
Contributor

@geoffw0 geoffw0 commented Feb 19, 2026

Update rust/diagnostic/database-quality, removing the macro call target resolution metric. This metric was found to be an unreliable indicator of database quality in many cases, leading to false alarms on the tool status page.

Copilot AI review requested due to automatic review settings February 19, 2026 09:05
@geoffw0 geoffw0 requested a review from a team as a code owner February 19, 2026 09:05
@geoffw0 geoffw0 added the Rust Pull requests that update Rust code label Feb 19, 2026
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 updates the Rust database quality diagnostics by removing the macro call target resolution metric, which was causing false alarms on the tool status page. The metric remains available for telemetry purposes but is no longer used as a diagnostic threshold.

Changes:

  • Removed MacroCallTargetStatsReport::percentageOfOk from the database quality diagnostic thresholds
  • Added a change note documenting the removal and its rationale

Reviewed changes

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

File Description
rust/ql/src/queries/telemetry/DatabaseQualityDiagnostics.ql Removed macro call target resolution metric from diagnostic predicate
rust/ql/src/change-notes/2026-02-18-database-quality.md Added change note documenting the removal of the unreliable metric

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

Labels

documentation Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments