From 554b93127bd6216d0204c2465700db15ec87e497 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 17 Feb 2026 13:38:09 +0000 Subject: [PATCH] More error message improvements --- src/config-utils.ts | 3 +-- src/overlay/status.ts | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/config-utils.ts b/src/config-utils.ts index 4874b871e..4f87c185d 100644 --- a/src/config-utils.ts +++ b/src/config-utils.ts @@ -781,8 +781,7 @@ export async function getOverlayDatabaseMode( logger.info( `Setting overlay database mode to ${OverlayDatabaseMode.None} ` + "because overlay analysis previously failed with this combination of languages, " + - "disk space, and CodeQL version. " + - "Consider running CodeQL analysis on a larger runner.", + "disk space, and CodeQL version.", ); overlayDatabaseMode = OverlayDatabaseMode.None; skippedDueToCachedStatus = true; diff --git a/src/overlay/status.ts b/src/overlay/status.ts index 76134b3f0..390682f1a 100644 --- a/src/overlay/status.ts +++ b/src/overlay/status.ts @@ -54,8 +54,8 @@ export async function shouldSkipOverlayAnalysis( status.attemptedToBuildOverlayBaseDatabase && !status.builtOverlayBaseDatabase ) { - logger.info( - "Cached overlay status indicates that building an overlay base database was unsuccessful, so will skip overlay analysis.", + logger.debug( + "Cached overlay status indicates that building an overlay base database was unsuccessful.", ); return true; }