feat(cli): add raven upgrade command#112
Merged
Merged
Conversation
Run uv replacement from an external isolated Python helper so Windows does not keep the active Raven entrypoint locked. Validate installation targets, preserve custom uv directories, and return the final install status.
arelchan
pushed a commit
that referenced
this pull request
Jul 13, 2026
## Summary Bump project version 0.1.3 -> 0.1.4 to cut the next patch release. Ships the four fixes/features merged since v0.1.3: `raven upgrade` command (#112), onboard oauth browser login (#110), plugin dir on sys.path (#92), and orjson as a direct dependency (#116). Lockfile synced via `uv lock`. ## Type - [ ] Fix - [ ] Feature - [ ] Docs - [ ] CI / tooling - [ ] Refactor - [x] Other ## Verification - [x] Relevant lint / type checks pass locally ``` python3 scripts/check_commit_messages.py origin/main..HEAD # pass uv lock # raven 0.1.3 -> 0.1.4 ``` ## Risk - [x] Backward compatibility considered Version-only bump; no runtime code changed. The release tag (v0.1.4) is pushed after this merges. ## Related Issues N/A Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
raven upgrade --checkandraven upgradefor the latest stable GitHub Release wheel.~/.raven.Windows returns after scheduling the helper because the running
raven.exemust exit before uv can replace it. Users must wait for the helper completion message before running Raven again.Type
Verification
uv run pytest tests/test_cli_upgrade_commands.py tests/integration/test_cli_upgrade_real_uv.py tests/test_cli_smoke.py tests/test_tui_rpc_cli_dispatch.py tests/test_tui_rpc_commands_catalog.py -q- 187 passeduv run ruff check raven/cli/upgrade_commands.py raven/cli/commands.py raven/tui_rpc/methods/cli_dispatch.py tests/test_cli_upgrade_commands.py tests/integration/test_cli_upgrade_real_uv.py tests/test_cli_smoke.py tests/test_tui_rpc_cli_dispatch.py- passeduv run ruff format --check raven/cli/upgrade_commands.py raven/cli/commands.py raven/tui_rpc/methods/cli_dispatch.py tests/test_cli_upgrade_commands.py tests/integration/test_cli_upgrade_real_uv.py tests/test_cli_smoke.py tests/test_tui_rpc_cli_dispatch.py- passednpm test --prefix ui-tui -- src/__tests__/branding.test.tsx- 13 passednpm run lint --prefix ui-tui- passed with 0 errors and 22 existing warningsnpm run lint:rpc --prefix ui-tui && npm run type-check --prefix ui-tui- passedmake check-commits && PR_TITLE='feat(cli): add raven upgrade command' make check-pr-title && make check-large-files- passedNative Windows end-to-end confirmation is provided by the
Windows self-upgradePR check.Relevant tests pass locally
Relevant lint / type checks pass locally
User-facing docs or screenshots are updated when needed
Risk
Related Issues
Closes #111