Skip to content

Commit 06cd615

Browse files
committed
Soften language re overlay failures
1 parent f5516c6 commit 06cd615

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th
55
## 4.32.5 - 02 Mar 2026
66

77
- Repositories owned by an organization can now set up the `github-codeql-disable-overlay` custom repository property to disable [improved incremental analysis for CodeQL](https://github.com/github/roadmap/issues/1158). First, create a custom repository property with the name `github-codeql-disable-overlay` and the type "True/false" in the organization's settings. Then in the repository's settings, set this property to `true` to disable improved incremental analysis. For more information, see [Managing custom properties for repositories in your organization](https://docs.github.com/en/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization). This feature is not yet available on GitHub Enterprise Server. [#3507](https://github.com/github/codeql-action/pull/3507)
8-
- Added an experimental change so that when [improved incremental analysis](https://github.com/github/roadmap/issues/1158) fails on a runner — often due to insufficient disk space — the failure is recorded in the Actions cache so that subsequent runs will automatically skip improved incremental analysis until something changes (e.g. a larger runner is provisioned or a new CodeQL version is released). We expect to roll this change out to everyone in March. [#3487](https://github.com/github/codeql-action/pull/3487)
8+
- Added an experimental change so that when [improved incremental analysis](https://github.com/github/roadmap/issues/1158) fails on a runner — potentially due to insufficient disk space — the failure is recorded in the Actions cache so that subsequent runs will automatically skip improved incremental analysis until something changes (e.g. a larger runner is provisioned or a new CodeQL version is released). We expect to roll this change out to everyone in March. [#3487](https://github.com/github/codeql-action/pull/3487)
99
- The minimum memory check for improved incremental analysis is now skipped for CodeQL 2.24.3 and later, which has reduced peak RAM usage. [#3515](https://github.com/github/codeql-action/pull/3515)
1010
- Reduced log levels for best-effort private package registry connection check failures to reduce noise from workflow annotations. [#3516](https://github.com/github/codeql-action/pull/3516)
1111
- Added an experimental change which lowers the minimum disk space requirement for [improved incremental analysis](https://github.com/github/roadmap/issues/1158), enabling it to run on standard GitHub Actions runners. We expect to roll this change out to everyone in March. [#3498](https://github.com/github/codeql-action/pull/3498)

lib/init-action-post.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/init-action-post-helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,15 +293,15 @@ async function recordOverlayStatus(
293293

294294
const blurb =
295295
"This job attempted to run with improved incremental analysis but it did not complete successfully. " +
296-
"This may have been due to disk space constraints: using improved incremental analysis can " +
296+
"One possible reason for this is disk space constraints, since improved incremental analysis can " +
297297
"require a significant amount of disk space for some repositories.";
298298

299299
if (saved) {
300300
logger.error(
301301
`${blurb} ` +
302302
"This failure has been recorded in the Actions cache, so the next CodeQL analysis will run " +
303303
"without improved incremental analysis. If you want to enable improved incremental analysis, " +
304-
"increase the disk space available to the runner. " +
304+
"try increasing the disk space available to the runner. " +
305305
"If that doesn't help, contact GitHub Support for further assistance.",
306306
);
307307
} else {

src/overlay/diagnostics.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ export async function addOverlayDisablementDiagnostics(
6868
markdownMessage:
6969
`Improved incremental analysis was skipped because it previously failed for this repository ` +
7070
`with CodeQL version ${(await codeql.getVersion()).version} on a runner with similar hardware resources. ` +
71-
"Improved incremental analysis may require a significant amount of disk space for some repositories. " +
72-
"If you want to enable improved incremental analysis, increase the disk space available " +
71+
"One possible reason for this is that improved incremental analysis can require a significant amount of disk space for some repositories. " +
72+
"If you want to try re-enabling improved incremental analysis, increase the disk space available " +
7373
"to the runner. If that doesn't help, contact GitHub Support for further assistance.\n\n" +
7474
"Improved incremental analysis will be automatically retried when the next version of CodeQL is released. " +
7575
`You can also manually trigger a retry by [removing](${DocUrl.DELETE_ACTIONS_CACHE_ENTRIES}) \`codeql-overlay-status-*\` entries from the Actions cache.`,

0 commit comments

Comments
 (0)