Skip to content

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

Merged
merged 1 commit into from
Apr 29, 2025

Conversation

michaelnebel
Copy link
Contributor

@michaelnebel michaelnebel commented Apr 29, 2025

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.

@github-actions github-actions bot added C# Java Rust Pull requests that update Rust code labels Apr 29, 2025
@michaelnebel michaelnebel marked this pull request as ready for review April 29, 2025 10:56
@Copilot Copilot AI review requested due to automatic review settings April 29, 2025 10:56
@michaelnebel michaelnebel requested review from a team as code owners April 29, 2025 10:56
Copy link
Contributor

@Copilot 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 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

@michaelnebel michaelnebel added the no-change-note-required This PR does not need a change note label Apr 29, 2025
@@ -5,7 +5,7 @@
* @precision low
* @id csharp/utils/modelgenerator/summary-models-partial-path
* @severity info
* @tags modelgenerator
* @tags debugmodelgenerator
Copy link
Contributor

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?

Copy link
Contributor Author

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 😄

Copy link
Contributor

@MathiasVP MathiasVP left a comment

Choose a reason for hiding this comment

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

LGTM!

@michaelnebel michaelnebel merged commit f5a295c into github:main Apr 29, 2025
43 of 45 checks passed
@michaelnebel michaelnebel deleted the debug/removemodelgentag branch April 29, 2025 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C# Java 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.

3 participants