Skip to content

Commit a9a8cd1

Browse files
henrymercerCopilot
andcommitted
Explain the nightly bundle version-check exception
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent dba87a1 commit a9a8cd1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎src/per-language-bundles.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ export async function getPerLanguageBundleLanguage(
102102
return explain("the job is not running on a GitHub-hosted runner");
103103
}
104104

105-
// Check whether per-language bundles are published for the requested CLI version.
106-
// Latest-nightly selection skips this release-version check, but not the other eligibility checks.
105+
// If the user requested the latest nightly, skip the version check, as nightlies have shipped
106+
// per-language bundles since https://github.com/dsp-testing/codeql-cli-nightlies/releases/tag/codeql-bundle-20260909.
107+
// Otherwise, check the requested CLI version to determine whether per-language bundles are published.
107108
if (!isLatestNightly) {
108109
if (cliVersion === undefined) {
109110
return explain("the requested CLI version is unknown");

0 commit comments

Comments
 (0)