Skip to content
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

Java: make diff-informed queries exact #18636

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jbj
Copy link
Contributor

@jbj jbj commented Jan 30, 2025

Similar to the reasoning behind #17648, diff-informed queries have to be exact. Over-approximations may cause alert wobble over the lifetime of a PR.

This is for performance in diff-informed mode but also for avoiding
spurious entries in the code scanning timeline and alert list.
@jbj jbj added the no-change-note-required This PR does not need a change note label Jan 30, 2025
@jbj jbj requested review from cklin, aschackmull and Copilot January 30, 2025 13:26
@jbj jbj requested a review from a team as a code owner January 30, 2025 13:26

Choose a reason for hiding this comment

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

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

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

@github-actions github-actions bot added the Java label Jan 30, 2025
@jbj
Copy link
Contributor Author

jbj commented Jan 31, 2025

The Java tests didn't trigger. I've been advised to close and re-open this PR.

@jbj jbj closed this Jan 31, 2025
@jbj jbj reopened this Jan 31, 2025
It turns out these locations need to be precise.
@jbj jbj force-pushed the diff-informed-java-location-fixups branch from 89c747b to 7ad6f13 Compare January 31, 2025 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant