Dashboard › cli › Distillation
a6bdade1-17df-41c3-a4d8-684530f7005f["lore_tm_v1_q9aTt8tTmKaYYaHo44DDNK92el71X99K7Iiulyj4aWc","lore_tm_v1_jE70CfuuAXAGTXFUyZ3IvRArW2FI2_PiGA4PqJICJyg"]
packages/cli/test/lib/upgrade.test.ts now imports UPGRADE_SOURCES from ../../src/lib/binary.js.{ tag_name: "cli@1.2.3" }.https://api.github.com/repos/getsentry/toolkit as available with HTTP 200 before handling the GHCR token and /manifests/nightly requests; the nightly manifest annotation supplies version 0.0.0-dev.1740393600.https://github.com/getsentry/cli/releases/download/ with /1.0.0/ to Toolkit https://github.com/getsentry/toolkit/releases/download/ with /cli@1.0.0/.buildKnownCurlPaths() gained a trailing-XDG_BIN_HOME separator regression test using join(homedir(), "custom", "bin") + sep; the normalized path must contain exactly one trailing separator, “never a double sep which would break” process.execPath.startsWith() directory-boundary checks.process.execPath.startsWith() directory-boundary checks.cleanupOldBinary intentionally does not clean up .download files because another process may be upgrading; .download cleanup occurs inside the upgrade flow while holding the exclusive lock.https://api.github.com/repos/getsentry/toolkit with HTTP 200, then returns HTTP 401 Unauthorized for the token exchange and expects an UpgradeError.packages/cli/test/lib/version-check.test.ts now imports vi, UPGRADE_SOURCES, and the ../../src/lib/delta-upgrade.js module namespace as deltaUpgrade; the namespace import carries a Biome suppression because Vitest requires it to spy on an ESM export.shouldSuppressNotification tests now cover CLI management commands when global flags precede cli: ["--verbose", "cli", "setup"], ["-v", "cli", "fix"], and ["--org", "acme", "cli", "setup"] must all suppress notifications because global flags are no longer hoisted and cli need not be args[0].vi.restoreAllMocks() in addition to aborting pending checks, restoring globalThis.fetch, and restoring SENTRY_CLI_NO_UPDATE_CHECK.getVersionCheckInfo().lastChecked === null, shouldCheckForUpdate is true and maybeCheckForUpdateInBackground() should initiate the background check.const toolkitSource = UPGRADE_SOURCES[0]!, spies on deltaUpgrade.prefetchStablePatches, and verifies source-affine stable and nightly update behavior.99.0.0-dev.200.