Dashboard › cli › Distillation
65be4e69-a291-4da5-b6f3-22c2bf054955["lore_tm_v1_TA0NKSRU1YMAUqVRGc8BwQsOHQMp9yFOTHNHpk396F0","lore_tm_v1_ZfBVzx32a7HHiovq1LcmZDi9eBh0zOfjrEmDJhnrtZQ"]
packages/cli/test/lib/release-notes.test.ts now imports afterEach, beforeEach, UPGRADE_SOURCES, fetchChangelog, and mockFetch to test changelog source affinity while restoring globalThis.fetch after each test.fetchChangelog stable-source affinity test explicitly selects UPGRADE_SOURCES[0] (Toolkit), receives releases tagged mcp@99.0.0 and cli@0.21.0, ignores the unrelated Toolkit package release, returns totalItems: 1, requests only https://api.github.com/repos/getsentry/toolkit/releases?per_page=30, and makes no request containing getsentry/cli.fetchChangelog legacy stable-source affinity test explicitly selects UPGRADE_SOURCES[1], processes release tag 0.21.0, returns totalItems: 1, and requests only https://api.github.com/repos/getsentry/cli/releases?per_page=30.fetchChangelog nightly-source affinity test explicitly selects the Toolkit source for versions 0.21.0-dev.100 through 0.21.0-dev.200, parses commit message fix: keep nightly stages affine, returns totalItems: 1, and requests only https://api.github.com/repos/getsentry/toolkit/commits?sha=main&since=1970-01-01T00:01:41.000Z&until=1970-01-01T00:03:21.000Z&per_page=100; no request may contain getsentry/cli.packages/cli/test/lib/upgrade.test.ts are being adapted to Toolkit’s release-list response and product-prefixed tags, including [{ tag_name: "cli@1.0.0" }] for the “version without v prefix” case and a visible cli@1.2.3 fixture.versionExists("curl", "1.0.0") has added coverage resolving to true.No CLI upgrade source was found: every source returned HTTP 404.buildKnownCurlPaths() now has a test for an XDG_BIN_HOME ending in sep: it must normalize the configured directory so the known path contains exactly xdgBin + sep and no path contains sep + sep.process.execPath.startsWith() directory-boundary checks.