@@ -7,6 +7,7 @@ import { getApiClient } from "./api-client";
77import type { CodeQL } from "./codeql" ;
88import * as defaults from "./defaults.json" ;
99import { Logger } from "./logging" ;
10+ import { CODEQL_OVERLAY_MINIMUM_VERSION } from "./overlay-database-utils" ;
1011import { RepositoryNwo } from "./repository" ;
1112import { ToolsFeature } from "./tools-features" ;
1213import * as util from "./util" ;
@@ -51,6 +52,7 @@ export enum Feature {
5152 DisableKotlinAnalysisEnabled = "disable_kotlin_analysis_enabled" ,
5253 ExportDiagnosticsEnabled = "export_diagnostics_enabled" ,
5354 ExtractToToolcache = "extract_to_toolcache" ,
55+ OverlayAnalysis = "overlay_analysis" ,
5456 PythonDefaultIsToNotExtractStdlib = "python_default_is_to_not_extract_stdlib" ,
5557 QaTelemetryEnabled = "qa_telemetry_enabled" ,
5658 RustAnalysis = "rust_analysis" ,
@@ -142,6 +144,11 @@ export const featureConfig: Record<
142144 envVar : "CODEQL_ACTION_EXTRACT_TOOLCACHE" ,
143145 minimumVersion : undefined ,
144146 } ,
147+ [ Feature . OverlayAnalysis ] : {
148+ defaultValue : false ,
149+ envVar : "CODEQL_ACTION_OVERLAY_ANALYSIS" ,
150+ minimumVersion : CODEQL_OVERLAY_MINIMUM_VERSION ,
151+ } ,
145152 [ Feature . PythonDefaultIsToNotExtractStdlib ] : {
146153 defaultValue : false ,
147154 envVar : "CODEQL_ACTION_DISABLE_PYTHON_STANDARD_LIBRARY_EXTRACTION" ,
0 commit comments