Dashboard › cli › Distillation
99b85bbb-cafa-4f83-b8fb-67d53d82bfbe["lore_tm_v1_-IiIVpM38VIQ-ji9lezfC_BHuWUEoL7RI0SSoqvpFFo","lore_tm_v1_jJaXiJ4m1rkoGLrH0ceuk932Qjcv5EOeotygRqviJ1Q"]
packages/cli/test/commands/cli.test.ts changed upgradeCommand.func coverage to mock GitHub releases as [{ tag_name: "cli@1.0.0" }], invoke func.call(context, { check: true, method: "curl", json: true }), and expect data.action to be "checked" with data.method equal to "curl"; this replaced { tag_name: "v0.0.0-dev" }, check: false, and expected action "up-to-date"."never uses the cached target after %s" after seeding cached version data with setVersionCheckInfo("88.88.88"); the covered invocation is ["cli", "upgrade", "--check", "--method", "curl"]."Migrating to standalone installation..."."/manifests/nightly" with schemaVersion: 2, layers: [], annotations: { version }, HTTP status 200, and content type application/vnd.oci.image.manifest.v1+json.new Response("Not Found", { status: 404 }) and request tracking assertions, including checking whether a request contains "/commits?".["cli", "upgrade", "--check", "--method", "curl", "nightly"].setReleaseChannel("nightly") in nightly-channel coverage and referenced the macOS ARM64 artifact filename "sentry-darwin-arm64.gz".a84012184c79c2566c7466aa6beda5f767199218 showed packages/cli/test/lib/delta-upgrade.test.ts importing prefetchNightlyPatches and prefetchStablePatches at lines 35–36.packages/cli/test/lib/delta-upgrade.test.ts:168 coverage named "normalizes uppercase hex to lowercase".[“Toolkit”, undefined, “cli@0.14.0-dev.1”, “cli@0.14.0”] and legacy [“legacy”, LEGACY_UPGRADE_SOURCE, “0.14.0-dev.1”, “0.14.0”].packages/cli/test/lib/delta-upgrade.test.ts: "uses the selected legacy GitHub repository" at line 868; "resolves prefixed Toolkit CLI releases and ignores other products" at line 967; "keeps stable resolution on the selected legacy source" at line 1001; and "keeps nightly resolution on the selected legacy source" at line 1244.packages/cli/test/lib/delta-upgrade.test.ts:1621 that intermediate hops are kept in memory, referencing the legacy .patching.a/.b paths.packages/cli/test/lib/delta-upgrade.test.ts:1903 as the start of prefetch-function coverage for the background version-check optimization; the comment at line 1905 says it exercises the function entry and the guard in prefetchAndCache.describe("prefetchNightlyPatches", ...) at line 1907 invoking await prefetchNightlyPatches("0.14.0-dev.123") at line 1914.describe("prefetchStablePatches", ...) at line 1918 invoking await prefetchStablePatches("0.14.0") at line 1924.describe("selected source affinity", ...) at line 1943 with tests "attemptDeltaUpgrade keeps stable requests on the legacy source" at line 1947 and "attemptDeltaUpgrade keeps nightly requests on the legacy source" at line 1971."prefetchStablePatches keeps requests on the legacy source" at line 1996, invoking versionedDelta.prefetchStablePatches(...) at line 2004, and "prefetchNightlyPatches keeps requests on the legacy source" at line 2015, invoking versionedDelta.prefetchNightlyPatches(...) at line 2024.