You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On first run (and during any full environment refresh), Pylance can take a very long time to start — in local testing the language server initialize was delayed by ~100+ seconds. The root cause is that startup blocks on environment work that doesn't need to gate the server:
getActiveInterpreter() waits on the in-progress environment enumeration/refresh (which can take tens of seconds, especially with conda and many envs), so the Python extension can't hand Pylance an interpreter quickly.
Activation awaits interpreter auto-selection rather than letting it complete in the background.
Conda deep probes (registry scan / conda info --json) run on the startup path even when the environments extension already owns discovery.
Desired behavior
Startup should be fast even on first run. getActiveInterpreter() should return within ~100ms — serving the last-known/persisted interpreter when discovery is slow — and the real value should resolve in the background and update Pylance via the normal change notification (it's acceptable that the active interpreter may change after a full refresh).
Activity
Fast Pylance startup: don't block activation on environment enumerati…