@@ -12,12 +12,6 @@ import { RepositoryPropertyName } from "../feature-flags/properties";
1212export enum OverlayDisabledReason {
1313 /** Overlay analysis was disabled by a repository property. */
1414 DisabledByRepositoryProperty = "disabled-by-repository-property" ,
15- /** The top-level overlay analysis feature flag is not enabled. */
16- OverallFeatureNotEnabled = "overall-feature-not-enabled" ,
17- /** Overlay analysis is not enabled for one or more of the configured languages. */
18- LanguageNotEnabled = "language-not-enabled" ,
19- /** Overlay analysis is restricted to code-scanning-only configs but the config uses custom queries or packs. */
20- NonDefaultQueries = "non-default-queries" ,
2115 /** The build mode is incompatible with overlay analysis. */
2216 IncompatibleBuildMode = "incompatible-build-mode" ,
2317 /** The CodeQL CLI version is too old to support overlay analysis. */
@@ -28,8 +22,14 @@ export enum OverlayDisabledReason {
2822 InsufficientDiskSpace = "insufficient-disk-space" ,
2923 /** The runner does not have enough memory to perform overlay analysis. */
3024 InsufficientMemory = "insufficient-memory" ,
25+ /** Overlay analysis is not enabled for one or more of the configured languages. */
26+ LanguageNotEnabled = "language-not-enabled" ,
3127 /** The source root is not inside a git repository. */
3228 NoGitRoot = "no-git-root" ,
29+ /** Overlay analysis is restricted to code-scanning-only configs but the config uses custom queries or packs. */
30+ NonDefaultQueries = "non-default-queries" ,
31+ /** The top-level overlay analysis feature flag is not enabled. */
32+ OverallFeatureNotEnabled = "overall-feature-not-enabled" ,
3333 /** Overlay analysis was skipped because it previously failed with similar hardware resources. */
3434 SkippedDueToCachedStatus = "skipped-due-to-cached-status" ,
3535 /** Disk usage could not be determined during the overlay status check. */
0 commit comments