Dashboard › cli › Distillation
d15937d2-2b0b-44b5-a6f0-34be9bc5d4ff["lore_tm_v1_lnCilh4T3Qo09WZW_DO7tYbQIhsScJvIISPchhSYB4g"]
Date: Sep 10, 2026
packages/cli/test/commands/cli.test.ts changed the curl upgrade mocks from a single GitHub release object such as { tag_name: "v99.0.0" } to the Toolkit GitHub release-list format [{ tag_name: "cli@99.0.0" }]; the associated comment now says curl uses the Toolkit GitHub release list with product-prefixed tags."shows installation info with specified method" test in packages/cli/test/commands/cli.test.ts now calls the upgrade command with { check: true, method: "curl", json: true } instead of { check: false, method: "curl", json: true }, and expects data.action to be "checked" rather than "up-to-date" while retaining data.method === "curl".404 directly rather than first returning a mocked latest version and then returning 404; the test remains named "throws UpgradeError when specified version does not exist".mockNightlyVersion(version) now handles https://api.github.com/repos/getsentry/toolkit with HTTP 200, then mocks the GHCR token exchange and /manifests/nightly; the nightly OCI manifest response includes schemaVersion: 2, layers: [], and annotations: { version } with content type application/vnd.oci.image.manifest.v1+json."never uses the cached target after %s" covering response-dependent failure cases; it verifies errors are produced rather than silently using the cached target.setVersionCheckInfo("88.88.88") to establish a cached version-check target while validating that invalid or unsuccessful fresh responses never cause that cached target to be used."'stable' positional sets channel to stable" now mocks GitHub version "1.0.0" rather than CLI_VERSION, starts from setReleaseChannel("nightly"), and expects the resulting release channel to be "stable"."", ".download", ".old", and ".lock" from join(migrateBinDir, \${migrateBinName}${suffix}`), then calls clearInstallInfo()`.maybeCheckForUpdateInBackground has a test named "checks for update when never checked before"; with no lastChecked value, shouldCheckForUpdate returns true and initiates the background update check."99.0.0", and mock a GHCR manifest containing layers: [].