Dashboard › cli › Distillation
65984b48-dc1e-4b85-b886-fddde1ccc379["lore_tm_v1_SvLj6ODYhuLvNHYmULeraUzvzMnD5IyMiHX3rI7-YdU","lore_tm_v1_yM-o4cbpIYsQNv2r5wFenvqOM7b6iiaJwlznZvJOMzQ"]
packages/cli/test/lib/version-check.test.ts now imports vi from vitest, UPGRADE_SOURCES from ../../src/lib/binary.js, and the ../../src/lib/delta-upgrade.js module namespace as deltaUpgrade; the namespace import has biome-ignore lint/performance/noNamespaceImport because Vitest requires the module namespace to spy on an ESM export.maybeCheckForUpdateInBackground retains explicit coverage for checking for an update when “never checked before”: getVersionCheckInfo().lastChecked must initially be null, causing shouldCheckForUpdate to initiate the background check.packages/cli/test/lib/version-check.test.ts adds stable-discovery-to-patch-prefetch source-affinity coverage: a Toolkit response containing cli@99.0.0 must cause maybeCheckForUpdateInBackground() to prefetch version 99.0.0 with the selected Toolkit source, while any URL containing getsentry/cli throws Unexpected legacy access.packages/cli/test/lib/version-check.test.ts adds nightly-discovery-to-patch-prefetch source-affinity coverage: Toolkit GHCR token and /v2/getsentry/toolkit/manifests/nightly responses must result in the patch prefetch spy receiving toolkitSource, with legacy getsentry/cli access forbidden.packages/cli/test/lib/upgrade.test.ts now imports UPGRADE_SOURCES from ../../src/lib/binary.js and dynamically imports resolveExistingUpgradeVersion from ../../src/lib/upgrade.js.[{ tag_name: "cli@v2.0.0" }] for the brew method and [{ tag_name: "cli@v3.0.0" }] when the release channel is omitted.packages/cli/test/lib/upgrade.test.ts adds a regression test ensuring an MCP release is not classified as the latest CLI release.Failed to connect to GitHub must remain distinct from HTTP 404 source absence.HTTP 404 failure.fetchLatestNightlyVersion tests include Toolkit GHCR responses with manifest annotation version: "0.0.0-dev.1740000000" and assert that Toolkit discovery does not request the legacy source.