Remove --intra-layer-parallelism flag from CodeQL CLI commands

Co-authored-by: henrymercer <14129055+henrymercer@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-09-09 16:53:28 +00:00
parent 4366c13457
commit 2a4630c7f1
10 changed files with 1 additions and 10 deletions

View File

@@ -118251,7 +118251,6 @@ ${output}`
"run-queries", "run-queries",
...flags, ...flags,
databasePath, databasePath,
"--intra-layer-parallelism",
"--min-disk-free=1024", "--min-disk-free=1024",
// Try to leave at least 1GB free // Try to leave at least 1GB free
"-v", "-v",

1
lib/analyze-action.js generated
View File

@@ -92814,7 +92814,6 @@ ${output}`
"run-queries", "run-queries",
...flags, ...flags,
databasePath, databasePath,
"--intra-layer-parallelism",
"--min-disk-free=1024", "--min-disk-free=1024",
// Try to leave at least 1GB free // Try to leave at least 1GB free
"-v", "-v",

View File

@@ -79286,7 +79286,6 @@ ${output}`
"run-queries", "run-queries",
...flags, ...flags,
databasePath, databasePath,
"--intra-layer-parallelism",
"--min-disk-free=1024", "--min-disk-free=1024",
// Try to leave at least 1GB free // Try to leave at least 1GB free
"-v", "-v",

View File

@@ -130724,7 +130724,6 @@ ${output}`
"run-queries", "run-queries",
...flags, ...flags,
databasePath, databasePath,
"--intra-layer-parallelism",
"--min-disk-free=1024", "--min-disk-free=1024",
// Try to leave at least 1GB free // Try to leave at least 1GB free
"-v", "-v",

1
lib/init-action.js generated
View File

@@ -89408,7 +89408,6 @@ ${output}`
"run-queries", "run-queries",
...flags, ...flags,
databasePath, databasePath,
"--intra-layer-parallelism",
"--min-disk-free=1024", "--min-disk-free=1024",
// Try to leave at least 1GB free // Try to leave at least 1GB free
"-v", "-v",

View File

@@ -78986,7 +78986,6 @@ ${output}`
"run-queries", "run-queries",
...flags, ...flags,
databasePath, databasePath,
"--intra-layer-parallelism",
"--min-disk-free=1024", "--min-disk-free=1024",
// Try to leave at least 1GB free // Try to leave at least 1GB free
"-v", "-v",

1
lib/upload-lib.js generated
View File

@@ -90552,7 +90552,6 @@ ${output}`
"run-queries", "run-queries",
...flags, ...flags,
databasePath, databasePath,
"--intra-layer-parallelism",
"--min-disk-free=1024", "--min-disk-free=1024",
// Try to leave at least 1GB free // Try to leave at least 1GB free
"-v", "-v",

View File

@@ -91253,7 +91253,6 @@ ${output}`
"run-queries", "run-queries",
...flags, ...flags,
databasePath, databasePath,
"--intra-layer-parallelism",
"--min-disk-free=1024", "--min-disk-free=1024",
// Try to leave at least 1GB free // Try to leave at least 1GB free
"-v", "-v",

View File

@@ -953,7 +953,7 @@ test("runTool recognizes fatal internal errors", async (t) => {
await codeqlObject.databaseRunQueries(stubConfig.dbLocation, []), await codeqlObject.databaseRunQueries(stubConfig.dbLocation, []),
{ {
instanceOf: CliError, instanceOf: CliError,
message: `Encountered a fatal error while running "codeql-for-testing database run-queries --intra-layer-parallelism --min-disk-free=1024 -v". Exit code was 1 and error was: Oops! A fatal internal error occurred. Details: message: `Encountered a fatal error while running "codeql-for-testing database run-queries --min-disk-free=1024 -v". Exit code was 1 and error was: Oops! A fatal internal error occurred. Details:
com.semmle.util.exception.CatastrophicError: An error occurred while evaluating ControlFlowGraph::ControlFlow::Root.isRootOf/1#dispred#f610e6ed/2@86282cc8 com.semmle.util.exception.CatastrophicError: An error occurred while evaluating ControlFlowGraph::ControlFlow::Root.isRootOf/1#dispred#f610e6ed/2@86282cc8
Severe disk cache trouble (corruption or out of space) at /home/runner/work/_temp/codeql_databases/go/db-go/default/cache/pages/28/33.pack: Failed to write item to disk. See the logs for more details.`, Severe disk cache trouble (corruption or out of space) at /home/runner/work/_temp/codeql_databases/go/db-go/default/cache/pages/28/33.pack: Failed to write item to disk. See the logs for more details.`,
}, },

View File

@@ -789,7 +789,6 @@ export async function getCodeQLForCmd(
"run-queries", "run-queries",
...flags, ...flags,
databasePath, databasePath,
"--intra-layer-parallelism",
"--min-disk-free=1024", // Try to leave at least 1GB free "--min-disk-free=1024", // Try to leave at least 1GB free
"-v", "-v",
...queries, ...queries,