Remove --intra-layer-parallelism flag from CodeQL CLI commands#3095
Merged
henrymercer merged 2 commits intomainfrom Sep 9, 2025
Merged
Remove --intra-layer-parallelism flag from CodeQL CLI commands#3095henrymercer merged 2 commits intomainfrom
henrymercer merged 2 commits intomainfrom
Conversation
Co-authored-by: henrymercer <14129055+henrymercer@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] The
Remove --intra-layer-parallelism flag from CodeQL CLI commands
Sep 9, 2025
--intra-layer-parallelism is enabled by default for all CodeQL CLI versions so we no longer need to explicitly pass it. Can you make a PR to stop passing it and update the tests accordingly?
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR removes the deprecated --intra-layer-parallelism flag from CodeQL CLI commands since it's now enabled by default in all supported CodeQL CLI versions.
- Removes explicit
--intra-layer-parallelismflag from thedatabaseRunQueriesmethod - Updates test expectations to reflect the new command format without the flag
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/codeql.ts | Removes the --intra-layer-parallelism flag from the databaseRunQueries command arguments |
| src/codeql.test.ts | Updates test error message expectation to match new command format without the flag |
| lib/*.js | Generated JavaScript files automatically updated (not reviewed per guidelines) |
mbg
approved these changes
Sep 9, 2025
This was referenced Sep 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
--intra-layer-parallelismflag is now enabled by default for all CodeQL CLI versions, so we no longer need to explicitly pass it when runningcodeql database run-queries.This PR removes the flag from the
databaseRunQueriesmethod insrc/codeql.tsand updates the corresponding test expectation insrc/codeql.test.ts.Changes Made
"--intra-layer-parallelism"from the command arguments in thedatabaseRunQueriesmethodTesting
All existing tests continue to pass (536/536), confirming that removing this flag doesn't break any functionality since the feature is enabled by default in modern CodeQL CLI versions.
The generated JavaScript files in the
lib/directory have been automatically updated to reflect these changes.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.