Remove --intra-layer-parallelism flag from CodeQL CLI commands #3095
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-parallelism
flag 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
databaseRunQueries
method insrc/codeql.ts
and updates the corresponding test expectation insrc/codeql.test.ts
.Changes Made
"--intra-layer-parallelism"
from the command arguments in thedatabaseRunQueries
methodTesting
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.