Pass explicit option to disable intra-layer parallelism

This commit is contained in:
Nick Rolfe 2023-07-31 11:47:25 +01:00
parent cf445f7cf3
commit c7b7456c9e
6 changed files with 25 additions and 5 deletions

View file

@ -23,6 +23,11 @@ export const CODEQL_VERSION_BUNDLE_SEMANTICALLY_VERSIONED = "2.13.4";
*/
export const CODEQL_VERSION_NEW_ANALYSIS_SUMMARY = "2.14.0";
/**
* Versions 2.14.0+ of the CodeQL CLI support intra-layer parallelism (aka fine-grained parallelism) options.
*/
export const CODEQL_VERSION_INTRA_LAYER_PARALLELISM = "2.14.0";
export interface CodeQLDefaultVersionInfo {
cliVersion: string;
tagName: string;
@ -71,7 +76,7 @@ export const featureConfig: Record<
},
[Feature.EvaluatorIntraLayerParallelismEnabled]: {
envVar: "CODEQL_EVALUATOR_INTRA_LAYER_PARALLELISM",
minimumVersion: "2.14.0",
minimumVersion: CODEQL_VERSION_INTRA_LAYER_PARALLELISM,
defaultValue: false,
},
[Feature.ExportDiagnosticsEnabled]: {