Dashboard › cli › Distillation
dc3ffa79-780b-4b44-aee4-d2973f27588c["lore_tm_v1_Frs5PhC1yK6d78-Q8mJ3wKnImiDNoqTth0LAxfPQXQc","lore_tm_v1_nl528gG8-DSBfklTvMKcTcfO4RDSzzA_KdI0FEQq3rE"]
packages/cli/test/lib/binary.test.ts updating getBinaryDownloadUrl("1.0.0") expectations from the legacy https://github.com/getsentry/cli/releases/download/ path containing /1.0.0/ to the Toolkit path https://github.com/getsentry/toolkit/releases/download/ containing /cli@1.0.0/; the URL must still contain sentry- and use arm64 when process.arch === "arm64", otherwise x64.packages/cli/test/lib/binary.test.ts adding coverage for getGitHubReleaseByTagUrl, resolveUpgradeSource, UPGRADE_SOURCES, and UpgradeSourceNotFoundError.getsentry/toolkit and getsentry/cli.resolveUpgradeSource() tests probing a release whose response contains { tag_name: "cli@0.45.0" }, selecting UPGRADE_SOURCES[0] when that source succeeds.resolveUpgradeSource() fallback/error coverage involving HTTP statuses 401, 403, 404, 429, and 500, including a test that proceeds between sources on a 404.resolveUpgradeSource() using getGitHubReleaseByTagUrl("0.45.0", source) as its per-source probe URL builder.resolveUpgradeSource() throwing an error matching { name: "UpgradeSourceNotFoundError" } after every configured source returns HTTP 404.fetchNightlyManifest("token", undefined, UPGRADE_SOURCES[0]) must use the selected source’s GHCR repository, making a request containing /v2/getsentry/toolkit/manifests/nightly, and resolve to the expected OCI manifest.packages/cli/test/lib/delta-upgrade.mocked.test.ts changing stable delta release fixtures from unscoped tags "0.14.0" and "0.13.0" to Toolkit-scoped tags "cli@0.14.0" and "cli@0.13.0".0.13→0.14 chain, with binary size 54, patch size 89, full gzip size 100_000, a target sha256: digest, and https://example.com/small.patch as the patch URL.packages/cli/test/lib/delta-upgrade.mocked.test.ts importing vi, UPGRADE_SOURCES, and useTestConfigDir, and defining LEGACY_UPGRADE_SOURCE = UPGRADE_SOURCES[1]; the test module throws "Legacy upgrade source is not configured" if that source is absent.api.github.com/repos/getsentry/cli/releases to api.github.com/repos/getsentry/toolkit/releases, while continuing to require a per_page= query parameter.null, releases API HTTP 500 returning null, and nightly chain resolution from "0.0.0-dev.100" to "0.0.0-dev.135" with fullGzSize: 100_000."patch-0.0.0-dev.101" and a test helper that dynamically imports delta-upgrade behavior with mocked CLI_VERSION, including version "0.14.0-dev.100".