From 202d9f1a6b796b5ff7e36bef959c35f56a832c0f Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 28 Oct 2026 13:13:15 +0000 Subject: [PATCH] Add `CheckUnsupportedTracedAnalysis` FF --- lib/entry-points.js | 5 +++++ src/feature-flags.ts | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/lib/entry-points.js b/lib/entry-points.js index 46bd1301f..4deb1fb26 100644 --- a/lib/entry-points.js +++ b/lib/entry-points.js @@ -179727,6 +179727,11 @@ var featureConfig = { envVar: "CODEQL_ACTION_ALLOW_MULTIPLE_ANALYSIS_KINDS", minimumVersion: void 0 }, + ["check_unsupported_traced_analysis" /* CheckUnsupportedTracedAnalysis */]: { + defaultValue: false, + envVar: "CODEQL_ACTION_CHECK_UNSUPPORTED_TRACED_ANALYSIS", + minimumVersion: void 0 + }, ["config_file_repository_property" /* ConfigFileRepositoryProperty */]: { defaultValue: false, envVar: "CODEQL_ACTION_CONFIG_FILE_REPOSITORY_PROPERTY", diff --git a/src/feature-flags.ts b/src/feature-flags.ts index e326b08e6..36fccc6aa 100644 --- a/src/feature-flags.ts +++ b/src/feature-flags.ts @@ -74,6 +74,11 @@ export enum Feature { AllowMergeConfigFiles = "allow_merge_config_files", /** Controls whether we allow multiple values for the `analysis-kinds` input. */ AllowMultipleAnalysisKinds = "allow_multiple_analysis_kinds", + /** + * Whether to check for unsupported traced analysis. Primarily intended as an override to disable + * the check if it causes problems somehow. + */ + CheckUnsupportedTracedAnalysis = "check_unsupported_traced_analysis", /** Whether to allow the `config-file` input to be specified via a repository property. */ ConfigFileRepositoryProperty = "config_file_repository_property", CppDependencyInstallation = "cpp_dependency_installation_enabled", @@ -197,6 +202,11 @@ export const featureConfig = { envVar: "CODEQL_ACTION_ALLOW_MULTIPLE_ANALYSIS_KINDS", minimumVersion: undefined, }, + [Feature.CheckUnsupportedTracedAnalysis]: { + defaultValue: false, + envVar: "CODEQL_ACTION_CHECK_UNSUPPORTED_TRACED_ANALYSIS", + minimumVersion: undefined, + }, [Feature.ConfigFileRepositoryProperty]: { defaultValue: false, envVar: "CODEQL_ACTION_CONFIG_FILE_REPOSITORY_PROPERTY",