Dashboard › cli › Distillation
78032d19-fc54-49ae-a268-d7214b0f5604["lore_tm_v1_sZ0aYiDchu4XRr5kT0p-BhETvntA_ea9MYdKZ7bXE28","lore_tm_v1_zPYl-4362VH6B7au6sS4wFnQVXkdlyJT6AY0CLCfz-s"]
~/.local/bin and ~/bin are valid current installation targets, never migration sources; this policy appears in packages/cli/test/lib/binary.test.ts near line 247.packages/cli/test/lib/version-check.test.ts tests enforcing source affinity: stable discovery passes UPGRADE_SOURCES[0] (Toolkit) to deltaUpgrade.prefetchStablePatches without legacy access; after a Toolkit HTTP 404, stable patch prefetch remains on UPGRADE_SOURCES[1] (legacy); nightly discovery passes the Toolkit source to deltaUpgrade.prefetchNightlyPatches without legacy access.https://api.github.com/repos/getsentry/toolkit/releases?per_page=100; the nightly test expects https://api.github.com/repos/getsentry/toolkit, https://ghcr.io/token?scope=repository:getsentry/toolkit:pull, and https://ghcr.io/v2/getsentry/toolkit/manifests/nightly.packages/cli/test/lib/upgrade.test.ts tests that select the latest cli@-prefixed Toolkit release, exclude unrelated MCP releases, and fall back to the legacy latest release only when Toolkit returns HTTP 404.packages/cli/test/lib/upgrade.test.ts tests prefixed Toolkit tag probing at https://api.github.com/repos/getsentry/toolkit/releases/tags/cli%401.0.0, fallback to an unprefixed legacy tag on Toolkit HTTP 404, and no fallback when a source has already been explicitly selected.packages/cli/test/lib/upgrade.test.ts includes nightly-source tests requiring fallback to legacy when the Toolkit nightly manifest returns HTTP 404, but no fallback for a non-404 Toolkit nightly failure.packages/cli/test/lib/upgrade.test.ts expects the all-sources-missing error text No CLI upgrade source was found: every source returned HTTP 404.packages/cli/test/lib/upgrade.test.ts includes raw-download fallback behavior: when the .gz URL returns HTTP 404, it retries the raw binary; if the binary download still returns 404, the expected error is Failed to download binary: HTTP 404.packages/cli/test/lib/release-notes.test.ts source-affinity tests using toolkitSource = UPGRADE_SOURCES[0]! and legacySource = UPGRADE_SOURCES[1]!; an explicitly selected Toolkit source fetches stable releases only from https://api.github.com/repos/getsentry/toolkit/releases?per_page=30 and distinguishes an unrelated Toolkit package release from the CLI release note Keep release stages source-affine.