Dashboard › cli › Distillation
913d00f3-234a-47cc-8a15-b6fa852c8a25["lore_tm_v1_5sORGOZNeuOax-XvPNoG_xOXgfHcsY6ZL47E8zt1rX0","lore_tm_v1_ToF__7-RXXF3o3TsbpypGfoEDhi_Fs3Ni6U2W9TcOkE"]
packages/cli/test/lib/delta-upgrade.mocked.test.ts mocks ../../src/lib/constants.js with CLI_VERSION: "0.13.0" so canAttemptDelta() passes its CLI_VERSION !== "0.0.0-dev" eligibility check.attemptDeltaUpgrade("0.0.0-dev.100", "/tmp/fake-binary", "/tmp/fake-dest") is tested to return null for a stable-to-nightly cross-channel upgrade when the current mocked version is 0.13.0.packages/cli/test/lib/delta-upgrade.mocked.test.ts now use Toolkit-prefixed tags cli@0.14.0 and cli@0.13.0 instead of unprefixed 0.14.0 and 0.13.0.packages/cli/test/lib/delta-upgrade.test.ts adds a fetchRecentReleases(undefined, LEGACY_UPGRADE_SOURCE) test requiring the selected legacy GitHub repository URL https://api.github.com/repos/getsentry/cli/releases?per_page=12.cli@0.13.0, cli@0.14.0, and cli@0.15.0, with patch downloads under URLs such as https://github.com/getsentry/toolkit/releases/download/cli@0.14.0/${binaryName}.patch; releases for other Toolkit products are ignored.null because this exceeds MAX_STABLE_CHAIN_DEPTH of 10.packages/cli/test/lib/delta-upgrade.test.ts adds coverage that attemptDeltaUpgrade keeps nightly requests on the legacy source and makes no request whose URL contains getsentry/toolkit.packages/cli/test/lib/ghcr.test.ts now imports UPGRADE_SOURCES from ../../src/lib/binary.js and GhcrManifestHttpError from ../../src/lib/ghcr.js.getAnonymousToken(UPGRADE_SOURCES[0]) is tested to request a token using scope repository:getsentry/toolkit:pull and resolve the returned token value "toolkit-token", confirming GHCR authentication uses the selected source’s repository.fetchManifest("token", "patch-0.13.0") on HTTP 404 is expected to throw an instance of GhcrManifestHttpError with name: "GhcrManifestHttpError", status: 404, and message Failed to fetch manifest for tag "patch-0.13.0": HTTP 404.Nightly manifest has no version annotation), a layer without annotations, a 307 blob redirect without a Location header (GHCR blob redirect (307) had no Location header), and redirect-follow network failure (Failed to download from blob storage: fetch failed).