Dashboard › cli › Distillation
d43f9454-f2f0-4422-8ed7-0c74a6597b6c["lore_tm_v1_60uFrTxPxmtrfvPtFrJv29ZfZXM2LQPiUnjJrTuNejo"]
packages/cli/test/lib/binary.test.ts importing and exercising getGitHubReleaseByTagUrl, resolveUpgradeSource, UPGRADE_SOURCES, and UpgradeSourceNotFoundError.getBinaryDownloadUrl("1.0.0") expectations: URLs now contain /cli@1.0.0/ and begin with https://github.com/getsentry/toolkit/releases/download/, replacing the former /1.0.0/ path under https://github.com/getsentry/cli/releases/download/.UPGRADE_SOURCES test suite and source-resolution tests, including first-source selection, request-order assertions, HTTP-status failures, and UpgradeSourceNotFoundError behavior.fetchLatestFromGitHub() all-sources failure message from "Failed to fetch from GitHub: 404" to "No CLI upgrade source was found: every source returned HTTP 404".cli@1.2.3, cli@1.3.0, and cli@1.0.0.versionExists coverage, including versionExists("curl", "1.0.0", UPGRADE_SOURCES[0]), HTTP 404 rejection behavior, request tracking, and preserving npm transport failures as UpgradeError with "Failed to connect to npm registry".AbortController.controller.abort() for upgrade-related fetch operations.getAnonymousToken() transport-failure expectations: it rejects with UpgradeError and message "Failed to connect to GHCR: fetch failed".parseInstallationMethod invalid-input coverage: "pip", "apt", and "" throw messages Invalid method: pip, Invalid method: apt, and Invalid method: respectively.