Dashboard › cli › Distillation
ba33e553-7a57-4037-a6ea-2ae06342e878["lore_tm_v1_eZJxUlUcfGz5NmJzpHBmXGz7u3ezsJj54CG3POK7Rko","lore_tm_v1_ew1Xp397HZjZk5h0X1oZbC-sJ0Gw_RbfB56yg5UEYYw","lore_tm_v1_4ZDOg0b2jBjtycoDRWskwjtpPA7bY-iArK68IkzrRE0","lore_tm_v1_iganxys_fWjGtDXu5L85phPIDPYF5K7RAlVQvN_TGrA","lore_tm_v1_uIh06n_BWu86cmQXajiEFCEavDwAawB7FT73jBOm4pg","lore_tm_v1_dLcebYQy8vTahdlqEbOAHeTnC_1fKRPGtsN2r0oOoOA","lore_tm_v1_yRS7meMvUdkdmQ0Em8sBr1EQqBw_K-IFJuDeNsZvfJw","lore_tm_v1_Wv3kb8aTFohYxb1ZgBiLP7IvbD-wDCM5rxOf1eIPtd4"]
packages/cli/test/lib/release-notes.test.ts now imports UPGRADE_SOURCES, fetchChangelog, and mockFetch; added coverage verifies stable changelog fetching remains exclusively on an explicitly selected legacy source and nightly changelog fetching can remain exclusively on Toolkit without requesting getsentry/cli.packages/cli/test/lib/version-check.test.ts includes the exact scenario "checks for update when never checked before": when getVersionCheckInfo().lastChecked is null, shouldCheckForUpdate is expected to initiate the background check; the test waits 100 ms and calls abortPendingVersionCheck(), allowing fetch failure without throwing.packages/cli/test/lib/version-check.test.ts added stable and nightly source-stickiness tests: the Toolkit source selected during discovery must be passed through to patch prefetch without legacy getsentry/cli access; nightly coverage includes Toolkit GHCR token scope /token?scope=repository:getsentry/toolkit:pull.packages/cli/test/lib/delta-upgrade.mocked.test.ts migrated stable Toolkit fixtures from legacy tags such as 0.14.0 and 0.13.0 to package-prefixed tags cli@0.14.0 and cli@0.13.0; the stable patch URL is now https://github.com/getsentry/toolkit/releases/download/cli@0.14.0/${BINARY_NAME}.patch.packages/cli/test/lib/delta-upgrade.mocked.test.ts added explicit legacy-source isolation coverage: fetchRecentReleases(undefined, LEGACY_UPGRADE_SOURCE) must request only https://api.github.com/repos/getsentry/cli/releases?per_page=12, and attemptDeltaUpgrade with LEGACY_UPGRADE_SOURCE must make no request containing getsentry/toolkit.packages/cli/src/lib/release-notes.ts propagates an optional selected source alongside prefetchedReleases: fetchChangelog destructures { fromVersion, toVersion, maxItems, prefetchedReleases, source }, and uses prefetchedReleases ?? (await fetchReleasesForChangelog(source)); prefetchedReleases?: GitHubRelease[] is present in the surrounding upgrade/changelog flow.packages/cli/src/lib/formatters/human.ts still hardcodes legacy release links in changelog truncation output: https://github.com/getsentry/cli/releases appears in both "...and ${more} more changes" and terminal-clamping "...and more" / "...truncated" messages at lines 2287, 2305, and 2306.packages/cli/src/lib/upgrade.ts, packages/cli/src/lib/delta-upgrade.ts, packages/cli/src/lib/binary.ts, and tests in packages/cli/test/lib/{upgrade,ghcr,delta-upgrade,binary,version-check,release-notes}.test.ts; packages/cli/src/lib/delta-upgrade.ts throws "No primary upgrade source is configured" when no primary source exists..github/workflows/ci.yml’s Lint & Typecheck job runs, in order, pnpm run generate:schema, pnpm run lint, pnpm run typecheck, pnpm run check:deps, pnpm run check:errors, pnpm run check:patches, and pnpm run check:stale-refs; the displayed CI configuration does not yet show a dedicated source-list/order parity check..github/workflows/ci.yml uses pnpm install --frozen-lockfile at lines 182, 240, 274, 314, 588, 636, 674, 762, and 782; .github/workflows/eval-skill-fork.yml uses it at line 63, while .github/workflows/sentry-release.yml installs sentry@${VERSION} globally via npm at line 54.