mirror of
https://github.com/github/codeql-action
synced 2026-05-27 10:01:44 +03:00
Improve error messages
This commit is contained in:
Generated
+1
-1
@@ -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 {
|
||||
|
||||
Generated
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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. " +
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user