Dashboard › cli › Distillation
7fd1bd9d-2b08-4748-a139-e3bc6337eb52["lore_tm_v1_huJ1btaw7VgdmwN8BtSnotQbdF04Wa-lYgAp5FrCjCU"]
detectInstallationMethod() to always check isHomebrewInstall() first because stored install info may be staleβfor example, a previously recorded curl installation after switching to Homebrew; the realpath check is cheap and authoritative.checkForUpdateInBackgroundImpl() never throws: errors are caught and reported to Sentry.shouldCheckForUpdate() throws because DB access failed, checkForUpdateInBackgroundImpl() calls Sentry.captureException(error) and returns without crashing the CLI.source?: UpgradeSource to FetchChangelogOptions; it represents the release source selected during version discovery and defaults to the primary source.fetchChangelog is best-effort, returns null on any failure, and is designed to run in parallel with binary download so it adds zero latency.prefetchedReleases?: GitHubRelease[] to avoid a redundant GitHub Releases API request when the delta-upgrade flow already fetched the same data.getCurlInstallPaths() determines the curl-installed binary path in this order: 1. DB-stored path when the method is curl and its directory still exists, skipping stale paths whose directories were purged; 2. process.execPath when it is in a known curl install location; 3. the XDG-aware default install directory for fresh installs. It returns installPath, tempPath, oldPath, and lockPath.node_modules path; 4. automatically save the detected method for future runs.GitHub returned cyclic release pagination.source: tryDeltaUpgrade(version, tempPath, !!offline, setMessage, source) and downloadFullBinary(version, downloadTag, tempPath, setMessage, source).UpgradeError with code "offline_cache_miss"; explicit offline mode instructs the user to rerun sentry cli upgrade without --offline, while implicit offline mode says the network is unavailable and advises checking the internet connection.CHECK_INTERVAL_MS = 24 * 60 * 60 * 1000, approximately 24 hours.