Soften language re overlay failures

This commit is contained in:
Henry Mercer
2026-03-02 11:48:45 +01:00
parent f5516c6630
commit 06cd615ad8
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -293,7 +293,7 @@ async function recordOverlayStatus(
const blurb =
"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 " +
"One possible reason for this is disk space constraints, since improved incremental analysis can " +
"require a significant amount of disk space for some repositories.";
if (saved) {
@@ -301,7 +301,7 @@ async function recordOverlayStatus(
`${blurb} ` +
"This failure has been recorded in the Actions cache, so the next CodeQL analysis will run " +
"without improved incremental analysis. If you want to enable improved incremental analysis, " +
"increase the disk space available to the runner. " +
"try increasing the disk space available to the runner. " +
"If that doesn't help, contact GitHub Support for further assistance.",
);
} else {
+2 -2
View File
@@ -68,8 +68,8 @@ export async function addOverlayDisablementDiagnostics(
markdownMessage:
`Improved incremental analysis was skipped because it previously failed for this repository ` +
`with CodeQL version ${(await codeql.getVersion()).version} on a runner with similar hardware resources. ` +
"Improved incremental analysis may require a significant amount of disk space for some repositories. " +
"If you want to enable improved incremental analysis, increase the disk space available " +
"One possible reason for this is that improved incremental analysis can require a significant amount of disk space for some repositories. " +
"If you want to try re-enabling improved incremental analysis, increase the disk space available " +
"to the runner. If that doesn't help, contact GitHub Support for further assistance.\n\n" +
"Improved incremental analysis will be automatically retried when the next version of CodeQL is released. " +
`You can also manually trigger a retry by [removing](${DocUrl.DELETE_ACTIONS_CACHE_ENTRIES}) \`codeql-overlay-status-*\` entries from the Actions cache.`,