Dashboard › cli › Distillation
d0fb8412-66af-44cd-b518-a610a7d8a229["lore_tm_v1_V-JfWmeMoOgGwkCbzNZa-HLPw5E1IaVFyd0T1Tj4--Y","lore_tm_v1_SxHnmoIrbVvZxI-ppHnPvvB7cPaIi7iObdj4pyDnIdM","lore_tm_v1_61e8uqgK5Fm5eKv2iwrW8a5aOIzaqMhib4lBKqu1dDI","lore_tm_v1_gL1BpsNR5M2raeeiCTAh8uT6yxcEwaebHhqjpaHR1FQ"]
packages/cli/test/lib/install-script.test.ts under Vitest v4.1.10 produced 1 passing test and 1 failing test across 1 test file; duration was 1.16s, with transform 838ms, setup 62ms, import 874ms, tests 35ms, and environment 0ms."install script > embeds the shared ordered upgrade source list" failed at packages/cli/test/lib/install-script.test.ts:115 because script.match(/^UPGRADE_SOURCES=\(([^)]*)\)$/m) returned no match, making match?.[1].trim().split(/\s+/) evaluate to undefined; expected repositories were ordered as ["getsentry/toolkit", "getsentry/cli"].test.poolOptions was removed in Vitest 4 and its former options must now be configured as top-level options; migration reference: https://vitest.dev/guide/migration#pool-rework.packages/cli/src/lib/ghcr.ts found source-aware GHCR operations using UpgradeSource and PRIMARY_UPGRADE_SOURCE: sourceOrSignal handling in token retrieval at lines 197–204; fetchManifest source parameter at lines 242–244; nightly-manifest wrapper source at lines 280–282; downloadNightlyBlob source and repository-specific blob URL at lines 350–352; tag-page source and repository-specific tags URL at lines 446–448; tag listing source at lines 491–497; and a source passed to downloadNightlyBlob at lines 534–536.packages/cli/src/lib/ghcr.ts defines GHCR_TAG = "nightly" at line 141; comments describe public anonymous access, OCI manifests carrying nightly versions, binaries stored as separate layers, and full nightly binaries of approximately 30 MB with a 30-second timeout.packages/cli/src/lib/binary.ts: getGitHubReleaseByTagUrl at line 250, getGitHubLatestReleaseUrl at line 259, and getGitHubRepositoryUrl at line 268.resolveUpgradeSource is exported from packages/cli/src/lib/binary.ts at line 302 and is covered in packages/cli/test/lib/binary.test.ts under a describe("resolveUpgradeSource") block beginning at line 84, with references at lines 35, 88, 110, 136, 155, and 173.