Skip to content

Commit 7f3a2f5

Browse files
henrymercerCopilot
andcommitted
Rename improved incremental analysis to overlay analysis
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 3811262 commit 7f3a2f5

4 files changed

Lines changed: 24 additions & 24 deletions

File tree

‎init/action.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ inputs:
154154
trap-caching:
155155
description: >-
156156
Explicitly enable or disable TRAP caching instead of using the automatically determined default.
157-
TRAP caching is disabled by default when improved incremental analysis is enabled,
158-
because improved incremental analysis of a pull request only extracts changed files,
157+
TRAP caching is disabled by default when overlay analysis is enabled,
158+
because overlay analysis of a pull request only extracts changed files,
159159
which rarely benefit from TRAP caching.
160160
required: false
161161
dependency-caching:

‎lib/entry-points.js‎

Lines changed: 9 additions & 9 deletions
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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ async function recordOverlayStatus(
541541
// one if a CodeQL Action reported an error before the job ended.
542542
if (!isConclusiveJobStatus(jobStatus) && !didCodeQlReportError(env)) {
543543
logger.info(
544-
"Not recording an improved incremental analysis failure for this job because the job " +
544+
"Not recording an overlay analysis failure for this job because the job " +
545545
`status (${jobStatus ?? "unset"}) does not tell us whether the analysis itself failed.`,
546546
);
547547
return;
@@ -576,23 +576,23 @@ async function recordOverlayStatus(
576576
);
577577

578578
const blurb =
579-
"This job attempted to run with improved incremental analysis but it did not complete successfully. " +
580-
"One possible reason for this is disk space constraints, since improved incremental analysis can " +
579+
"This job attempted to run with overlay analysis but it did not complete successfully. " +
580+
"One possible reason for this is disk space constraints, since overlay analysis can " +
581581
"require a significant amount of disk space for some repositories.";
582582

583583
if (saved) {
584584
logger.error(
585585
`${blurb} ` +
586586
"This failure has been recorded in the Actions cache, so the next CodeQL analysis will run " +
587-
"without improved incremental analysis. If you want to enable improved incremental analysis, " +
587+
"without overlay analysis. If you want to enable overlay analysis, " +
588588
"try increasing the disk space available to the runner. " +
589589
"If that doesn't help, contact GitHub Support for further assistance.",
590590
);
591591
} else {
592592
logger.error(
593593
`${blurb} ` +
594594
"The attempt to save this failure status to the Actions cache failed. The Action will attempt to " +
595-
"run with improved incremental analysis again.",
595+
"run with overlay analysis again.",
596596
);
597597
}
598598
}

‎src/overlay/diagnostics.ts‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,18 @@ export async function addOverlayDisablementDiagnostics(
8484
config,
8585
makeDiagnostic(
8686
"codeql-action/overlay-disabled-due-to-cached-status",
87-
"Skipped improved incremental analysis because it failed previously with similar hardware resources",
87+
"Skipped overlay analysis because it failed previously with similar hardware resources",
8888
{
8989
attributes: {
9090
languages: config.languages,
9191
},
9292
markdownMessage:
93-
`Improved incremental analysis was skipped because it previously failed for this repository ` +
93+
`Overlay analysis was skipped because it previously failed for this repository ` +
9494
`with CodeQL version ${(await codeql.getVersion()).version} on a runner with similar hardware resources. ` +
95-
"One possible reason for this is that improved incremental analysis can require a significant amount of disk space for some repositories. " +
96-
"If you want to try re-enabling improved incremental analysis, increase the disk space available " +
95+
"One possible reason for this is that overlay analysis can require a significant amount of disk space for some repositories. " +
96+
"If you want to try re-enabling overlay analysis, increase the disk space available " +
9797
"to the runner. If that doesn't help, contact GitHub Support for further assistance.\n\n" +
98-
"Improved incremental analysis will be automatically retried when the next version of CodeQL is released. " +
98+
"Overlay analysis will be automatically retried when the next version of CodeQL is released. " +
9999
`You can also manually trigger a retry by [removing](${DocUrl.DELETE_ACTIONS_CACHE_ENTRIES}) \`codeql-overlay-status-*\` entries from the Actions cache.`,
100100
severity: "note",
101101
visibility: {
@@ -115,15 +115,15 @@ export async function addOverlayDisablementDiagnostics(
115115
config,
116116
makeDiagnostic(
117117
"codeql-action/overlay-disabled-by-repository-property",
118-
"Improved incremental analysis disabled by repository property",
118+
"Overlay analysis disabled by repository property",
119119
{
120120
attributes: {
121121
languages: config.languages,
122122
},
123123
markdownMessage:
124-
"Improved incremental analysis has been disabled because the " +
124+
"Overlay analysis has been disabled because the " +
125125
`\`${RepositoryPropertyName.DISABLE_OVERLAY}\` repository property is set to \`true\`. ` +
126-
"To re-enable improved incremental analysis, set this property to `false` or remove it.",
126+
"To re-enable overlay analysis, set this property to `false` or remove it.",
127127
severity: "note",
128128
visibility: {
129129
cliSummaryTable: true,

0 commit comments

Comments
 (0)