Skip to content

Changes after user feedback - #3

Merged
marcoeilers merged 5 commits into
mainfrom
meilers_global_env_install
Jul 7, 2026
Merged

marcoeilers merged 5 commits into
mainfrom
meilers_global_env_install

Conversation

@marcoeilers

Copy link
Copy Markdown
Contributor

Fixing some issues after user feedback:

  • Warning when trying to install into global environments, and detecting error messages when an installation into a managed environment fails
  • Fixing a script resolution problem when working with global environments
  • Detecting when server startup fails because the port is blocked, and offering to switch to local/direct mode (see below)

Some cosmetic changes:

  • Renamed Local mode to Direct, since Local was misinterpreted by test users
  • Using the Nagini icon as the symbol for the Start Verification command to make it easier to spot

marcoeilers and others added 5 commits July 7, 2026 15:27
Before installing Nagini, warn (modal) if the selected interpreter is a
global/system Python rather than a virtual environment, offering to select
one instead. When pip fails because the environment is externally managed
(PEP 668), show a clear message pointing at a virtual environment instead
of the raw exit code.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
pip falls back to a --user install when the interpreter's site-packages is
not writeable, placing the nagini/nagini_client scripts in the per-user
scripts directory rather than the interpreter's default one. Query both
directories and use whichever actually contains the executable, so a
successful --user install is no longer reported as "not installed".

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
When the server fails to start because its port is already in use (e.g. a
stale server is still running), detect the address-in-use error and offer
to disable server mode so verification can still run with a per-file
process. Route all server-start failures through one handler and stop the
server's close handler from also popping up a duplicate error for failures
that a caller already reports.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
"Local" implied local-vs-remote; "Direct" better conveys running Nagini
directly (one process per verification) as opposed to via the persistent
server. Updates the status-bar label, tooltip, a log message, and the
README.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Replace the generic $(unverified) codicon on the editor title-bar action
with the Nagini logo.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@marcoeilers
marcoeilers merged commit 5708ce9 into main Jul 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant