Explain the nightly bundle version-check exception

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Henry Mercer
2026-09-22 16:07:10 +01:00
parent dba87a18dc
commit a9a8cd1aec

View File

@@ -102,8 +102,9 @@ export async function getPerLanguageBundleLanguage(
return explain("the job is not running on a GitHub-hosted runner");
}
// Check whether per-language bundles are published for the requested CLI version.
// Latest-nightly selection skips this release-version check, but not the other eligibility checks.
// If the user requested the latest nightly, skip the version check, as nightlies have shipped
// per-language bundles since https://github.com/dsp-testing/codeql-cli-nightlies/releases/tag/codeql-bundle-20260909.
// Otherwise, check the requested CLI version to determine whether per-language bundles are published.
if (!isLatestNightly) {
if (cliVersion === undefined) {
return explain("the requested CLI version is unknown");