Dashboard › cli › Distillation
34e688fc-c632-4c13-9e49-62db37635978["lore_tm_v1_21heIECvz30UEPJI3f-4ZW5Rx_Pc_HMha7mrtqulmro"]
Date: September 10, 2026
packages/cli/test/commands/cli.test.ts, upgrade-command GitHub mocks were updated from the legacy releases/latest response { tag_name: "v0.0.0-dev" } to the Toolkit releases-list endpoint matching getsentry/toolkit/releases?per_page=100, returning [{ tag_name: "cli@0.0.0-dev" }].packages/cli/test/commands/cli.test.ts now represent Toolkit release tags as cli@${version}; a fallback mock still returns a legacy single-release object such as { tag_name: "88.88.88" }.--check test in packages/cli/test/commands/cli.test.ts was changed from asserting “already on target” with CLI_VERSION to asserting that the valid nightly target 0.0.0-dev.1 is shown.getsentry/cli.resolveUpgradeSource() tests cover: selecting the first source when its probe succeeds; trying the next source when the first probe returns HTTP 404 and the second returns HTTP 200; and yielding an error matching { name: "UpgradeSourceNotFoundError" } when no source resolves.getGitHubReleaseByTagUrl("0.45.0", source).child_process.spawn invokes the downloaded entry binary with setup, includes --ensure-auth-scopes, and surfaces Setup failed with exit code 1 when setup exits unsuccessfully.