-
Notifications
You must be signed in to change notification settings - Fork 22
Comparing changes
Open a pull request
base repository: DeepSourceCorp/cli
base: master
head repository: DeepSourceCorp/cli
compare: improvements
- 15 commits
- 45 files changed
- 2 contributors
Commits on Dec 23, 2025
-
Upgrade Go to 1.25.3 and refresh dependencies
- Bump Go version in CI, Makefile, and go.mod - Replace deprecated ioutil and strings.Title usages - Update GitHub Actions and all module dependencies Signed-off-by: Jai Pradeesh <jai@deepsource.io>
Configuration menu - View commit details
-
Copy full SHA for a299363 - Browse repository at this point
Copy the full SHA a299363View commit details
Commits on Jan 3, 2026
-
fix: tests and DeepSource issues
Signed-off-by: Sourya Vatsyayan <sourya@deepsource.io>
Configuration menu - View commit details
-
Copy full SHA for ca0fb3a - Browse repository at this point
Copy the full SHA ca0fb3aView commit details -
fix: add tests for missing cases
Signed-off-by: Sourya Vatsyayan <sourya@deepsource.io>
Configuration menu - View commit details
-
Copy full SHA for 1aa98c9 - Browse repository at this point
Copy the full SHA 1aa98c9View commit details -
chore: add uncovered test cases for config.WriteFile
Signed-off-by: Sourya Vatsyayan <sourya@deepsource.io>
Configuration menu - View commit details
-
Copy full SHA for 390b969 - Browse repository at this point
Copy the full SHA 390b969View commit details
Commits on Jan 6, 2026
-
fix: add server readiness check to prevent test race condition
- wait for mock HTTP server to be ready before running tests - prevents flaky test failures due to connection refused errors
Configuration menu - View commit details
-
Copy full SHA for dcecb59 - Browse repository at this point
Copy the full SHA dcecb59View commit details -
fix: use underscore for unused mock function parameters
- fixes RVV-B0012 DeepSource issues for unused parameters
Configuration menu - View commit details
-
Copy full SHA for 506f085 - Browse repository at this point
Copy the full SHA 506f085View commit details -
fix: increase mock server startup timeout
- increases wait iterations from 50 to 200 for more reliability
Configuration menu - View commit details
-
Copy full SHA for c16ebf8 - Browse repository at this point
Copy the full SHA c16ebf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ce50fb - Browse repository at this point
Copy the full SHA 1ce50fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for de9f21c - Browse repository at this point
Copy the full SHA de9f21cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22b182a - Browse repository at this point
Copy the full SHA 22b182aView commit details -
docs: update README with auth commands and usage examples
- Add authentication section with login examples (browser, token, enterprise) - Document OIDC authentication for GitHub Actions - Expand command reference with subcommand details - Add auth, config, issues, and repo subcommand descriptions
Configuration menu - View commit details
-
Copy full SHA for 5d86ef7 - Browse repository at this point
Copy the full SHA 5d86ef7View commit details -
refactor: add function variables to auth commands for testability
- login: extract getConfig, confirmFromUser, selectFromOptions, getSingleLineInput - logout: extract getConfig, confirmFromUser - refresh: extract getConfig, newDeepsource - status: extract getConfig Enables mocking of dependencies in unit tests
Configuration menu - View commit details
-
Copy full SHA for a0e2ba8 - Browse repository at this point
Copy the full SHA a0e2ba8View commit details -
refactor: extract surveyAskOne function variable for testing
Enables mocking of survey.AskOne in unit tests for prompt utilities
Configuration menu - View commit details
-
Copy full SHA for 31284e3 - Browse repository at this point
Copy the full SHA 31284e3View commit details -
test: add unit tests for auth, config, report, and utils packages
- auth/login: test command creation, interactive login flows, re-auth prompts - auth/logout: test config errors, not-logged-in state, user cancellation - auth/refresh: test config errors, client creation, token refresh - auth/status: test config errors, not-logged-in, valid/expired tokens - config/generate: test config generation with analyzers, transformers, patterns - report: test sanitize, validateKey, git commit detection, makeQuery - utils/prompt: test ConfirmFromUser, SelectFromOptions, GetSingleLineInput - utils/cmd_validator: test ExactArgs, MaxNArgs, NoArgs validators
Configuration menu - View commit details
-
Copy full SHA for e53a145 - Browse repository at this point
Copy the full SHA e53a145View commit details -
Refactor code quality and improve test patterns
- Use underscore prefix for unused cobra command parameters - Refactor logout to use struct fields instead of package-level vars - Fix mutex double-unlock issues in status_test.go - Replace deprecated ioutil.ReadFile with os.ReadFile - Convert value receivers to pointer receivers where appropriate - Extract setupGitRepo helper and use table-driven tests - Improve error handling with io.ReadAll and json.NewEncoder - Add configFilePermissions constant and clean up config.go - Use DialTimeout for server readiness checks - Fix test loop variable capture issues
Configuration menu - View commit details
-
Copy full SHA for 83025f0 - Browse repository at this point
Copy the full SHA 83025f0View commit details
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...improvements