Dashboard › cli › Distillation
2bb13f71-a8bc-45d8-87e5-4a4fbd573f6b["lore_tm_v1_iu82xqL0MxnS-Le6Gu7u-vBaCaLsVXG6WCuFGwAsNtg","lore_tm_v1_JB4AKL-kZ8ocQRMQaEpdbxHIWsXkrnEWSPDPeOufy9s","lore_tm_v1_m5GBF-aHtv4C2k9vo3A8s0ZNXPViaEHGqGfiQUmjOKU"]
packages/cli/test/commands/cli/upgrade.test.ts now imports setVersionCheckInfo from ../../../src/lib/db/version-check.js to seed cached version-check state in upgrade tests.mockGhcrNightlyVersion() and mockNightlyVersion() now allow the Toolkit source probe https://api.github.com/repos/getsentry/toolkit to return HTTP 200 before handling GHCR token and manifest requests.mockGitHubVersion(version) now discovers stable versions through getsentry/toolkit/releases?per_page=100, returning [{ tag_name: \cli@${version}` }], rather than using the legacy releases/latest` response.mockGitHubVersion(version) now validates release tags as URL-encoded cli%40${version} and returns { tag_name: \cli@${version}` }`; unmatched tags return HTTP 404."never uses the cached target after %s"; the tests seed cached target "88.88.88" with setVersionCheckInfo("88.88.88") and verify relevant responses do not cause that cached target to be used.["cli", "upgrade", "--check", "--method", "curl", "88.88.88"] while tracking network requests and guarding against unintended legacy-source access."uses the selected legacy source for the check-mode changelog", ensuring check-mode changelog retrieval remains bound to the selected legacy source."Switch to nightly and use npm method → triggers migration"."does not fall back on a network failure" test that expects rejection with "Failed to connect to GitHub: fetch failed".https://api.github.com origin rather than accepting a lookalike or unintended origin.packages/cli/test/lib/delta-upgrade.mocked.test.ts moved from the legacy CLI release URL https://github.com/getsentry/cli/releases/download/0.14.0/${BINARY_NAME}.patch to Toolkit URL https://github.com/getsentry/toolkit/releases/download/cli@0.14.0/${BINARY_NAME}.patch."cli@0.14.0" and "cli@0.13.0" instead of unprefixed "0.14.0" and "0.13.0".packages/cli/test/lib/delta-upgrade.test.ts stable-chain fixtures now use tags "cli@0.15.0", "cli@0.14.0", and "cli@0.13.0" while retaining binary digests based on their normalized versions.MAX_STABLE_CHAIN_DEPTH of 10, but now wraps every generated version as cli@${v}.{ fromVersion: "0.0.0-dev.100", toVersion: "0.0.0-dev.101" }."getsentry/toolkit".packages/cli/test/lib/ghcr.test.ts adds "uses the selected source's GHCR repository": fetchNightlyManifest("token", undefined, UPGRADE_SOURCES[0]) must request a URL containing /v2/getsentry/toolkit/manifests/nightly and resolve to the mocked manifest.878459c490576dbb7abb76d3a3dc1b5d9fc62c1f — fix(cli): fail closed on upgrade metadata; 2. e22f0eba66298a7228a988a4adcf1ec5be85227b — fix(cli): preserve source and cancellation provenance; 3. dcf6719995800d28d6f88a8c709abe4aa3d0b6db — test(cli): validate GitHub request origin; 4. f1c10a6cb1a753b8c4b8c613cd78735c3f12cba6 — fix(cli): preserve pinned upgrade contracts; 5. e565b1afb39a341605adc883de8812851de7d581 — fix(cli): validate stable upgrade metadata; 6. 4a1d5bad105c006193c68459175f5eb3c7f78e08 — test(cli): update pinned version fixture; 7. 2f9b5d0d26124d445a916b8bfc584ad518720584 — fix(cli): isolate pinned upgrade resolution; 8. c6030fbf4d0c190f037c86d832edb6680d3e54ab — fix(cli): bind nightly manifests to versions; 9. b6484e0fb1eb0f8bce68272d538f5c3b26cd5bd5 — fix(cli): validate resolved upgrade metadata; 10. c8c815bbecf472061ec02ab96d1a31f23f078d01 — fix(cli): validate GitHub release pagination; 11. 5ffa5cd0fe02c0a5dc5bec9a8a099f4135c0b447 — fix(cli): harden upgrade source resolution; 12. dbee7e9f2a4555e044f74dfebad002cccfa43a1f — test(cli): update toolkit upgrade fixtures; 13. 723375b6ce4e37884e760fa0f848e7e7e3effcc9 — fix(cli): address upgrade review findings; 14. 9c874298e3b57515ba36d35140627a668a46dc7b — fix(cli): address toolkit bridge review; 15. 04867eaf9b412a62d4b1ea1c59c2b382c557bd0b — feat(cli): add toolkit upgrade bridge.