Dashboard › cli › Distillation
b8fd0df8-48f7-4542-b02b-f3db7245d1dd["lore_tm_v1_mAjVKblicNls5dnzLDe3smO0kLJfghVCOoPVvRQ7GLo","lore_tm_v1_ZGIQCyyZzGmGkMur328ZrZMnulSTWXtKRMv6agJG9ic","lore_tm_v1_A56i_0syV-HnobJT4hRrR40DuXe0LvuBJtOn07rDlU4","lore_tm_v1_UixAP5tPHhMoOKgnPGTQ5hpqKv10xuQbdTC190M6-uY","lore_tm_v1_3VHHVpAQ1gnW9pi6dpckkcbHdi5cdL_SHzew23WIcVs","lore_tm_v1_6OcZ1dlQUm3FbbNEkeBgZ5JkgRyYqxHmHvkLsSre53g","lore_tm_v1_MolhxLVWyYFcFdQD64xfC2iOej48v4j1CUFfEi69uSc","lore_tm_v1_a2kL_brJ8nn27TvJhfd5nNW9r4ZIVHhPqn6YfKi9IzA","lore_tm_v1_zq85o0vHsSLtR3F2Cd0E3DrwPeJddUAn8U1Z-aPNZY8","lore_tm_v1_BmwMLYMr1fqP-O-eHOgU0tVptwyfVK872kCvkF-yWyc","lore_tm_v1_YjK1O96ZSKbi3QFTpBtmJslMhRiMv-z_z9RpMoGz-NM","lore_tm_v1_YlXIB8hsW0d6pDk29C2VkxtTMsGLMLOV625lVqLfdYA","lore_tm_v1_Qe5CKkLRfL_j9YehyUMbj5Vo6Dfel7-8wkARlw2SaoE","lore_tm_v1_gS8FA-6iVq-aCTDaDeV2m9RzrBYATM_y5DKy7wmy9c8","lore_tm_v1_KrOjA37hap6a7UzNfxxdccOawc9yZbd1RW64YGysjgU","lore_tm_v1_dxMealSGWVTMStofSuI4Q-vyX9IK06dgpROCLM5uVns","lore_tm_v1_qYVH8ICmlIz4zTcsWQo-7nk_S63Wryd1U1kGEo5y4lU","lore_tm_v1_-UJwCtoZREvOt-oHNI-Nbl0tJaraaWW2-AZNZv6hwQk","lore_tm_v1_WuuEuVhNko0-j-W2xt8Wvodyn0vZa72PJN0GfyIHKQc","lore_tm_v1_xKbhDUbFr73XzHzaGW19_oH_YuOb6BWmw2Ml3cKQyNY","lore_tm_v1_cybl1OUn96i875QLxqHg4THK0wfe5mNFgT8rq0-lric","lore_tm_v1_GW2PAhaBW0oPDEGSxoFI0L0hi1ZNucvL0SFyO1rAu34"]
feat/toolkit-bridge-upgrade tracking origin/feat/toolkit-bridge-upgrade, checked-out HEAD dbee7e9f2a4555e044f74dfebad002cccfa43a1f, and checksum a84a52f92f46526431f9d1572166676d68542683797142d9116d2bee61de48ea.packages/cli/test/lib/delta-upgrade.test.ts:1924-2014 found 4 selected-source-affinity tests: attemptDeltaUpgrade stable uses only https://api.github.com/repos/getsentry/cli/releases?per_page=12; attemptDeltaUpgrade nightly uses only https://ghcr.io/token?scope=repository:getsentry/cli:pull; prefetchStablePatches uses only the legacy GitHub releases URL; and prefetchNightlyPatches uses only the legacy GHCR token URL. Each explicitly verifies no request includes getsentry/toolkit.packages/cli/test/lib/delta-upgrade.test.ts:1873-1907 also verifies that attemptDeltaUpgrade returns null when delta upgrades are unavailable for the test development version, and that prefetchNightlyPatches("0.14.0-dev.123") and prefetchStablePatches("0.14.0") make no fetch calls when CLI_VERSION is 0.0.0-dev.gh: Not Found (HTTP 404) and payload {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/repos#get-a-repository","status":"404"}.packages/cli/src/lib/upgrade.ts: extractReleaseVersions() at line 109, fetchLatestFromGitHubWithSource() at line 438, resolveNightlyManifest() at line 528, resolveExistingUpgradeVersion() at line 608, standaloneVersionExists() at line 660, downloadNightlyToPath() at line 860, downloadStableToPath() at line 899, downloadBinaryToTemp() at line 1042, and downloadFullBinary() at line 1159.packages/cli/src/lib/binary.ts: UPGRADE_SOURCES at line 116, PRIMARY_UPGRADE_SOURCE at line 130, getBinaryDownloadUrl() at line 234, getGitHubReleaseByTagUrl() at line 250, getGitHubLatestReleaseUrl() at line 259, and resolveUpgradeSource() at line 338.packages/cli/src/lib/delta-upgrade.ts: stableSource() at line 127, nightlySource() at line 181, attemptDeltaUpgrade() at line 595, prefetchNightlyPatches() at line 688, and prefetchStablePatches() at line 696; stable logic filters and strips source.tagPrefix, while nightly logic uses source.ghcrRepo.packages/cli/src/commands/cli/upgrade.ts: resolution returns optional source at lines 182-184 and 289-290; resolvePinnedVersion() begins at line 292; resolveTargetVersion() begins at line 318 and carries latestResolution?.source; executeStandardUpgrade() accepts source at lines 645-680; migrateToStandaloneForNightly() accepts and forwards source at lines 748-766; startChangelogFetch() accepts source at lines 864-879; and the main flow passes the selected source into changelog and upgrade execution at lines 1000-1078.packages/cli/src/lib/release-notes.ts: release tags are filtered against and stripped using source.tagPrefix at lines 435-442; fetchReleasesForChangelog() begins at line 586; commit lookup uses source.githubRepo at line 692; and fetchChangelog() begins at line 752.packages/cli/src/lib/version-check.ts: maybePrefetchPatches() at lines 231-244 passes the selected source into prefetchNightlyPatches() or prefetchStablePatches(); version resolution uses fetchLatestNightlyVersionWithSource() or fetchLatestFromGitHubWithSource() at lines 291-292; and line 296 forwards the resolved source into patch prefetch.packages/cli/test/lib/upgrade.test.ts covers latest cli@ Toolkit release selection at lines 193-208, no fallback from an explicitly selected source at line 641, no fallback on non-404 Toolkit nightly failure at line 1708, and no false fallback when transport-error text merely contains HTTP 404 at line 1730.packages/cli/test/lib/binary.test.ts covers fallback to the legacy source only on HTTP 404 at line 108, no fallback for other HTTP statuses at lines 133 onward, and no fallback on network failure at line 151.packages/cli/test/lib/delta-upgrade.test.ts at lines 849, 982, 1225, and 1924-2014; packages/cli/test/lib/release-notes.test.ts at lines 300-351; packages/cli/test/lib/version-check.test.ts at line 538; and packages/cli/test/commands/cli/upgrade.test.ts at line 412.new Response(JSON.stringify(data), response) construction in packages/cli/src/lib/delta-upgrade.ts:142.packages/cli/src/commands/cli/index.ts: upgradeCommand is imported from ./upgrade.js at line 9 and registered as upgrade at line 20.packages/cli/src/index.ts exposes createSentrySDK() as the default export, re-exports AsyncChannel, SentryError, SentryOptions, and SentrySDK, and internally re-exports startCli as _cli at line 67 for the dist/bin.cjs npm-bin wrapper.Analyze (actions) in 48s; 2. Analyze (javascript-typescript) in 1m25s; 3. Analyze (python) in 50s; 4. Build Binary (darwin-arm64) in 1m8s; 5. Build Binary (linux-x64) in 46s; 6. Build Docs in 40s; 7. Build npm Package (smoke Node 20) in 43s; 8. Build npm Package (smoke Node 22) in 58s; 9. Build npm Package (smoke Node 24) in 50s; 10. CI Status in 3s; 11. CodeQL in 3s; 12. Cursor Bugbot in 1m30s; 13. Detect Changes in 7s; 14. E2E Tests in 1m35s; 15. Eval SKILL.md in 2m46s; 16. Lint & Typecheck in 1m25s; 17. Reset eval labels in 3s; 18. Secret Scan in 15s; 19. Seer Code Review in 2m55s; 20. Socket Security: Project Report in 2s; 21. Socket Security: Pull Request Alerts in 3s; 22. Unit Tests in 4m7s; 23. Validate generated files in 33s; 24. Vercel – cli completed deployment; 25. dependency-review in 5s; 26. warden in 11m45s; and 27. semgrep-cloud-platform/scan in 2m13s.warden: security-review and a second warden; Vercel – sentry-local passed with status Skipped - Not affected.Generate Delta Patches, Publish Nightly to GHCR, Run skill eval, and Codemod tests.