-
Notifications
You must be signed in to change notification settings - Fork 1.7k
C#/Java/Rust: Change the tag for the model generator debugging queries. #19408
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
C#/Java/Rust: Change the tag for the model generator debugging queries. #19408
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.
Pull Request Overview
This PR updates the tag for model generator debugging queries from "modelgenerator" to "debugmodelgenerator" across Rust, Java, and C# to support the DCA suites' requirements.
- Updated debug queries in CaptureSummaryModelsPath.ql and CaptureSummaryModelsPartialPath.ql files for Rust, Java, and C#.
- Ensured consistent tagging for better query differentiation during debugging.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
rust/ql/src/utils/modelgenerator/debug/CaptureSummaryModelsPath.ql | Changed tag from modelgenerator to debugmodelgenerator |
rust/ql/src/utils/modelgenerator/debug/CaptureSummaryModelsPartialPath.ql | Changed tag from modelgenerator to debugmodelgenerator |
java/ql/src/utils/modelgenerator/debug/CaptureSummaryModelsPath.ql | Changed tag from modelgenerator to debugmodelgenerator |
java/ql/src/utils/modelgenerator/debug/CaptureSummaryModelsPartialPath.ql | Changed tag from modelgenerator to debugmodelgenerator |
csharp/ql/src/utils/modelgenerator/debug/CaptureSummaryModelsPath.ql | Changed tag from modelgenerator to debugmodelgenerator |
csharp/ql/src/utils/modelgenerator/debug/CaptureSummaryModelsPartialPath.ql | Changed tag from modelgenerator to debugmodelgenerator |
@@ -5,7 +5,7 @@ | |||
* @precision low | |||
* @id csharp/utils/modelgenerator/summary-models-partial-path | |||
* @severity info | |||
* @tags modelgenerator | |||
* @tags debugmodelgenerator |
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.
Alternatively, just remove the tags?
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.
Yeah, I also considered that - but decided to go with this - so I don't accidentally add the "missing" modelgenerator
tag to these queries again in the future 😄
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.
LGTM!
The DCA suites are relying on the
modelgenerator
tag, so we should tag the local debug queries differently.The failing Java integration test is unrelated.