-
Notifications
You must be signed in to change notification settings - Fork 23
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Checking mergeability…
Don’t worry, you can still create the pull request.
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: DeepSourceCorp/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: DeepSourceCorp/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: self-update
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 10 commits
- 9 files changed
- 3 contributors
Commits on Mar 1, 2026
-
- Fetch manifest from CDN on every invocation, download and replace binary if a newer version exists - Verify SHA256 checksum before replacing, extract from tar.gz or zip - Skip update in dev builds, CI environments, or when auto_update is false in config.toml - Run update check in background goroutine, print notice to stderr after command completes - Add AutoUpdate *bool field to CLIConfig for opt-out
Configuration menu - View commit details
-
Copy full SHA for 3440708 - Browse repository at this point
Copy the full SHA 3440708View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55f9cbd - Browse repository at this point
Copy the full SHA 55f9cbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40ff0fa - Browse repository at this point
Copy the full SHA 40ff0faView commit details -
Split auto-updater into two-phase check-then-apply flow
- Phase 1 (CheckForUpdate) fetches manifest and writes state file if newer version exists, with a short 3s timeout to avoid slowing down CLI startup - Phase 2 (ApplyUpdate) reads state file on next run and applies the update with a 30s timeout - Removes background goroutine and channel-based approach in favor of synchronous two-phase model - State file (update.json) is cleared before applying so broken updates don't retry forever - Adds UpdateState struct and read/write/clear helpers for on-disk persistence - Adds tests for state file lifecycle, version comparison, download + checksum verification, and no-op when state file is absent
Configuration menu - View commit details
-
Copy full SHA for a614369 - Browse repository at this point
Copy the full SHA a614369View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3aebaa - Browse repository at this point
Copy the full SHA f3aebaaView commit details -
Make CDN base URL configurable and enable auto-update for dev builds
- Extract hardcoded cli.deepsource.com URL into buildinfo.BaseURL so dev builds can point to cli.deepsource.one - Only skip auto-update for local dev builds (version == "development"), not all dev-mode builds - Update tests to reflect the new behavior
Configuration menu - View commit details
-
Copy full SHA for 2aab1f7 - Browse repository at this point
Copy the full SHA 2aab1f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e888cf0 - Browse repository at this point
Copy the full SHA e888cf0View commit details
Commits on Mar 2, 2026
-
Fix version parsing for strings with build metadata
- Strip pre-release/build suffix (e.g. "44-e888cf0f" → "44") before parsing patch version - Fixes strconv.Atoi failure when version contains a commit hash
Configuration menu - View commit details
-
Copy full SHA for daafd46 - Browse repository at this point
Copy the full SHA daafd46View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7d18bc - Browse repository at this point
Copy the full SHA d7d18bcView commit details
Commits on Mar 7, 2026
-
Fix archive download URL to include /build/ path segment
The CDN serves archives under /build/, but the URL was constructed without it, causing 404 errors during self-update downloads. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for d766bb9 - Browse repository at this point
Copy the full SHA d766bb9View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...self-update