Skip to content

Improve conda environment name retrieval logic for external environments#331

Merged
karthiknadig merged 7 commits intomainfrom
key-sparrow
Feb 5, 2026
Merged

Improve conda environment name retrieval logic for external environments#331
karthiknadig merged 7 commits intomainfrom
key-sparrow

Conversation

@karthiknadig
Copy link
Member

@karthiknadig karthiknadig commented Feb 5, 2026

Fixes #329

Enhance the logic for retrieving conda environment names to correctly handle external environments and ensure proper activation. This change checks the history file when the conda directory is unknown or when the prefix does not match the conda directory.

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

Test Coverage Report (Linux)

Metric Value
Current Coverage 57.9%
Base Branch Coverage 57.6%
Delta .3% ✅

Coverage increased! Great work!

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

Performance Report (Linux) ⚠️

Metric PR Baseline Delta Change
Server Startup 1ms 1ms 0ms 0%
Full Refresh 1025ms 520ms 505ms 90.0%

Legend
  • 🚀 Significant speedup (>100ms faster)
  • ✅ Faster than baseline
  • ➖ No significant change
  • 🔺 Slower than baseline (>100ms)
  • ⚠️ Significant slowdown (>500ms)

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

Test Coverage Report (Windows)

Metric Value
Current Coverage 54.5%
Base Branch Coverage 54.15%
Delta 0.35% ✅

Coverage increased! Great work!

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

Performance Report (Windows) ⚠️

Metric PR Baseline Delta Change
Server Startup 14ms 15ms -1ms -6.7%
Full Refresh 2600ms 2079ms 521ms 25.1%

Legend
  • 🚀 Significant speedup (>100ms faster)
  • ✅ Faster than baseline
  • ➖ No significant change
  • 🔺 Slower than baseline (>100ms)
  • ⚠️ Significant slowdown (>500ms)

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

Performance Report (macOS)

Metric PR Baseline Delta
Server Startup 1314ms 1239ms 75ms
Full Refresh 62591ms 71109ms -8518ms

Legend
  • 🚀 Significant speedup (>100ms faster)
  • ✅ Faster than baseline
  • ➖ No significant change
  • 🔺 Slower than baseline (>100ms)
  • ⚠️ Significant slowdown (>500ms)

@karthiknadig karthiknadig marked this pull request as ready for review February 5, 2026 21:07
@karthiknadig karthiknadig enabled auto-merge (squash) February 5, 2026 21:07
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 5, 2026
@karthiknadig karthiknadig merged commit f6a4b18 into main Feb 5, 2026
30 checks passed
@karthiknadig karthiknadig deleted the key-sparrow branch February 5, 2026 21:31
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.

Conda terminal activation incorrectly uses name for path-based environments created by VS Code

2 participants