Dashboard › cli › Distillation
f8b67621-15d7-43bd-9a43-3a9a0ca59f8d["lore_tm_v1_rcMLaV6uCLDjBGw-WRDvpZHmDyNTby--V_fYso7XlY0","lore_tm_v1_iMIPVuuPwTggjwhjclkLWR8bFz2cek0wEOQXRLerRD0"]
"never uses the cached target after %s" in packages/cli/test/commands/cli/upgrade.test.ts; the test seeds cached version-check data with setVersionCheckInfo("88.88.88") and verifies the cached target is not reused after the tested responses.packages/cli/test/commands/cli.test.ts so curl version checks consume the Toolkit GitHub release-list format [{ tag_name: "cli@1.0.0" }] / [{ tag_name: "cli@99.0.0" }], replacing legacy single-release objects with unprefixed v... tags.packages/cli/test/commands/cli.test.ts to call { check: true, method: "curl", json: true } and expect UpgradeResult.action === "checked" with method === "curl", replacing the prior full-upgrade expectation of "up-to-date".cli%40${version} maps to GitHub tag cli@${version}; nonexistent version "999.0.0" still throws "Version 999.0.0 not found", and the test expects exactly 2 fetch calls.packages/cli/test/commands/cli/upgrade.test.ts, including assertions that selected requests do not contain per_page=100.packages/cli/test/commands/cli/upgrade.test.ts from full upgrade to check-only: ["cli", "upgrade", "--check", "--method", "curl"]."Run 'sentry cli upgrade 2.0.0' to update." when a newer version is available."strips v prefix from user-specified version" test now mocks stable version "1.0.0"."nightly" test mocks version "0.0.0-dev.1" and verifies nightly channel selection, while other channel output continues to include "Channel: stable".["cli", "upgrade", "--method", "curl", "nightly"], Homebrew explicit version invocation ["cli", "upgrade", "--method", "brew", "1.2.3"], and npm explicit-version check invocation ["cli", "upgrade", "--check", "--method", "npm", "1.2.3"].expect.arrayContaining(["--channel", "stable"]) and Toolkit/GHCR requests including https://api.github.com/repos/getsentry/toolkit and /manifests/nightly-0.99.0-dev.1234567890.packages/cli/test/lib/delta-upgrade.mocked.test.ts from legacy release tags such as "0.14.0" and "0.13.0" to Toolkit product-prefixed tags "cli@0.14.0" and "cli@0.13.0".https://github.com/getsentry/toolkit/releases/download/cli@0.14.0/${BINARY_NAME}.patch, replacing https://github.com/getsentry/cli/releases/download/0.14.0/${BINARY_NAME}.patch.packages/cli/test/lib/delta-upgrade.test.ts: resolveStableChain("0.13.0", "0.14.0", undefined, LEGACY_UPGRADE_SOURCE) resolves to null, requests exactly https://api.github.com/repos/getsentry/cli/releases?per_page=12, and never requests a URL containing getsentry/toolkit.packages/cli/test/lib/delta-upgrade.test.ts: resolveNightlyChain() with token "test-token", current version "0.0.0-dev.100", target version "0.0.0-dev.101", fullGzSize: 100_000, and source: LEGACY_UPGRADE_SOURCE resolves to null, requests exactly https://ghcr.io/v2/getsentry/cli/tags/list?n=100, and never requests a URL containing getsentry/toolkit.importDeltaUpgradeWithVersion(version: string) test support for loading delta-upgrade behavior under specific versions, including legacy/dev-version coverage such as "0.14.0-dev.100" and a 401 Unauthorized response; legacy-source assertions require that resulting URLs never contain getsentry/toolkit.