Skip to content

Commit bdadc03

Browse files
authored
Merge pull request #4246 from github/henrymercer/graduate-overlay-version-match
Graduate overlay-aware CodeQL version selection
2 parents b484113 + 6aa7e65 commit bdadc03

4 files changed

Lines changed: 110 additions & 215 deletions

File tree

‎lib/entry-points.js‎

Lines changed: 5 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/feature-flags.ts‎

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -105,19 +105,6 @@ export enum Feature {
105105
OverlayAnalysisGo = "overlay_analysis_go",
106106
OverlayAnalysisJava = "overlay_analysis_java",
107107
OverlayAnalysisJavascript = "overlay_analysis_javascript",
108-
/**
109-
* When set, chooses the default CodeQL CLI version as the highest version that is both enabled by
110-
* feature flags and present as an overlay-base database in the Actions cache for the configured
111-
* languages. Falls back to the highest feature flagged version if no intersecting overlay-base
112-
* database exists in the cache.
113-
*/
114-
OverlayAnalysisMatchCodeqlVersion = "overlay_analysis_match_codeql_version",
115-
/**
116-
* Like `OverlayAnalysisMatchCodeqlVersion`, but only logs a diagnostic with the version that
117-
* would have been chosen instead of actually changing the default CodeQL CLI version.
118-
* `OverlayAnalysisMatchCodeqlVersion` overrides this flag.
119-
*/
120-
OverlayAnalysisMatchCodeqlVersionDryRun = "overlay_analysis_match_codeql_version_dry_run",
121108
/**
122109
* Lowers the overlay minimum available disk space to 8 GB. The lowest enabled limit wins; if
123110
* none are enabled, the default applies.
@@ -361,16 +348,6 @@ export const featureConfig = {
361348
minimumVersion: CODEQL_OVERLAY_MINIMUM_VERSION_RUBY,
362349
},
363350
// Other overlay-related feature flags
364-
[Feature.OverlayAnalysisMatchCodeqlVersion]: {
365-
defaultValue: false,
366-
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_MATCH_CODEQL_VERSION",
367-
minimumVersion: undefined,
368-
},
369-
[Feature.OverlayAnalysisMatchCodeqlVersionDryRun]: {
370-
defaultValue: false,
371-
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_MATCH_CODEQL_VERSION_DRY_RUN",
372-
minimumVersion: undefined,
373-
},
374351
[Feature.OverlayAnalysisMinDisk8Gb]: {
375352
defaultValue: false,
376353
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_MIN_DISK_8_GB",

0 commit comments

Comments
 (0)