Skip to content

Convert remaining {go,swift,ruby}-code-scanning.qls query tests to .qlref #19817

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

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

d10c
Copy link
Contributor

@d10c d10c commented Jun 19, 2025

Converts the remaining {go,swift,ruby}-code-scanning.qls query tests to .qlref.

Example prior work: #18848

Also, in the Ruby case I've made the utils/test/PrettyPrintModels.ql test postprocessor available; Swift apparently doesn't support the Models-as-Data extensible predicates, so I couldn't fit its existing MaD support into the codeql.dataflow.test.ProvenancePathGraph::TestPostProcessing::TranslateProvenanceResults<> interface.

Anecdotally, the Copilot "Next Edit Suggestion" feature had some marginal benefit for this PR.

@github-actions github-actions bot added the Go label Jun 19, 2025
@d10c d10c changed the title Convert $lang-code-scanning.qls query tests to .qlref Convert remaining {go,swift,ruby,java}-code-scanning.qls query tests to .qlref Jun 19, 2025
@d10c d10c added the no-change-note-required This PR does not need a change note label Jun 20, 2025
@d10c d10c requested a review from a team June 20, 2025 08:32
@d10c d10c changed the title Convert remaining {go,swift,ruby,java}-code-scanning.qls query tests to .qlref Convert remaining {go,swift,ruby}-code-scanning.qls query tests to .qlref Jun 20, 2025
@d10c d10c force-pushed the d10c/convert-tests-to-qlref branch from bed3fc6 to 178a6d3 Compare June 20, 2025 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Go no-change-note-required This PR does not need a change note Ruby Swift
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant