GeezerVison is showing github.com — Remove --intra-layer-parallelism flag from CodeQL CLI commands by Copilot · Pull Request #3095 · github/codeql-action
Conversation
Copilot
AI
commented
Sep 9, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
The --intra-layer-parallelism flag is now enabled by default for all CodeQL CLI versions, so we no longer need to explicitly pass it when running codeql database run-queries.
This PR removes the flag from the databaseRunQueries method in src/codeql.ts and updates the corresponding test expectation in src/codeql.test.ts.
Changes Made
- Removed
"--intra-layer-parallelism" from the command arguments in the databaseRunQueries method
- Updated the test error message expectation to match the new command format without the flag
Testing
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Copilot
AI
changed the title
[WIP] The --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?
Remove --intra-layer-parallelism flag from CodeQL CLI commands
Sep 9, 2025
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 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-parallelism flag from the databaseRunQueries method
- 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) |
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Sep 10, 2025
Reviewers
mbg
mbg approved these changes
nickrolfe
Awaiting requested review from nickrolfe
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.