Refactor getOverlayDatabaseMode and add new disablement reason

This commit is contained in:
Henry Mercer
2026-03-04 13:53:12 +01:00
parent 776fd85f8c
commit b371ccd8ea
4 changed files with 278 additions and 177 deletions
+2
View File
@@ -31,6 +31,8 @@ export enum OverlayDisabledReason {
* queries or packs, disables default queries, or specifies query filters.
*/
NonDefaultQueries = "non-default-queries",
/** We are not analyzing a pull request or the default branch. */
NotPullRequestOrDefaultBranch = "not-pull-request-or-default-branch",
/** The top-level overlay analysis feature flag is not enabled. */
OverallFeatureNotEnabled = "overall-feature-not-enabled",
/** Overlay analysis was skipped because it previously failed with similar hardware resources. */