Improve error messages

This commit is contained in:
Henry Mercer
2026-02-17 13:38:08 +00:00
parent d24014a749
commit 3dd1275368
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -169824,7 +169824,7 @@ async function recordOverlayStatus(codeql, config, features, logger) {
logger.debug(
`Saved overlay status to the Actions cache: ${JSON.stringify(overlayStatus)}`
);
logger.warning(
logger.error(
"This job attempted to run with improved incremental analysis but it did not complete successfully. This may have been due to disk space constraints: using improved incremental analysis can require a significant amount of disk space for some repositories. This information has been saved to the Actions cache. You can rerun this job to run CodeQL analysis without improved incremental analysis. If you want to enable improved incremental analysis, increase the disk space available to the runner. If that doesn't help, contact GitHub Support for further assistance."
);
} else {
+1 -1
View File
@@ -105721,7 +105721,7 @@ async function shouldSkipOverlayAnalysis(codeql, languages, diskUsage, logger) {
return true;
}
logger.debug(
"Cached overlay status indicates that building an overlay base database was successful."
"Cached overlay status does not indicate a previous unsuccessful attempt to build an overlay base database."
);
return false;
}
+1 -1
View File
@@ -288,7 +288,7 @@ async function recordOverlayStatus(
logger.debug(
`Saved overlay status to the Actions cache: ${JSON.stringify(overlayStatus)}`,
);
logger.warning(
logger.error(
"This job attempted to run with improved incremental analysis but it did not complete successfully. " +
"This may have been due to disk space constraints: using improved incremental analysis can " +
"require a significant amount of disk space for some repositories. " +
+1 -1
View File
@@ -60,7 +60,7 @@ export async function shouldSkipOverlayAnalysis(
return true;
}
logger.debug(
"Cached overlay status indicates that building an overlay base database was successful.",
"Cached overlay status does not indicate a previous unsuccessful attempt to build an overlay base database.",
);
return false;
}