Repository navigation
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterIssue requires more information from postertriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Type: Bug
Behaviour
Bizarrely, I have narrowed down this seemingly unrelated behavior regarding Source Control to the latest pre-release version of the Python extension. Source Control does not refresh any data, including current branch and pending changes in files, when on the latest version.
Steps to reproduce:
- Ensure you're on the latest version of VSCode as well as the pre-release version of the Python Extension
- Check out a branch in Git
- Switch branches using the command line
- The "current branch" in the status bar does not update
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Extension version: 2024.23.2024121601
VS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Darwin arm64 24.1.0
Modes:
- Python version (& distribution if applicable, e.g. Anaconda): 3.12.7
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
- Value of the
python.languageServersetting: Default
User Settings
languageServer: "Pylance"
testing
• cwd: "<placeholder>"
• pytestArgs: "<placeholder>"
• pytestEnabled: true
• pytestPath: "<placeholder>"
• unittestArgs: "<placeholder>"
Installed Extensions
| Extension Name | Extension Id | Version |
|---|---|---|
| abracadabra | nic | 9.4.8 |
| advanced-new-file | pat | 1.2.2 |
| bash-debug | rog | 0.3.9 |
| better-comments-next | edw | 3.3.15 |
| biome | bio | 2024.12.22126 |
| code-spell-checker | str | 4.0.21 |
| codewhisperer-for-command-line-companion | ama | 1.5.0 |
| cpptools-themes | ms- | 2.0.0 |
| crates-completer | jed | 1.2.1 |
| crates-io | Bar | 0.7.3 |
| dance | gre | 0.5.15 |
| debugpy | ms- | 2024.14.0 |
| dekirisu-rust-themes | dek | 0.0.1 |
| dependi | fil | 0.7.13 |
| discord-vscode | icr | 5.8.0 |
| dotenv | mik | 1.0.1 |
| errorlens | use | 3.21.0 |
| es7-react-js-snippets | dsz | 4.4.3 |
| even-better-toml | tam | 0.19.2 |
| figma-vscode-extension | fig | 0.4.0 |
| fix-all-json | zar | 0.1.6 |
| folder-source-actions | bie | 0.2.1 |
| gc-excelviewer | Gra | 4.2.62 |
| github-vscode-theme | Git | 6.3.5 |
| gitlens | eam | 16.0.5 |
| gti-vscode | Gra | 0.6.1 |
| iceworks-style-helper | ice | 1.1.2 |
| indent-rainbow | ode | 8.3.1 |
| indenticator | Sir | 0.7.0 |
| inline-fold | moa | 0.2.6 |
| js-debug | ms- | 1.96.0 |
| js-debug-companion | ms- | 1.1.3 |
| jsdoc-highlight-code | gal | 0.0.1 |
| jsonresume | ref | 0.0.3 |
| line-link | Kev | 0.0.1 |
| markdown-preview-enhanced | shd | 0.8.15 |
| mathpadpp | cln | 1.0.3 |
| multi-cursor-case-preserve | Car | 1.0.5 |
| nord-visual-studio-code | arc | 0.19.0 |
| oxc-vscode | oxc | 0.15.2 |
| package-json-upgrade | cod | 3.1.0 |
| postman-for-vscode | Pos | 1.5.1 |
| pretty-ts-errors | Yoa | 0.6.1 |
| pylint | ms- | 2024.0.0 |
| pypi-assistant | twi | 2.1.9 |
| python | ms- | 2024.23.2024121601 |
| quokka-vscode | Wal | 1.0.677 |
| rainbow-csv | mec | 3.13.0 |
| ruff | cha | 2024.56.0 |
| rust-analyzer | rus | 0.3.2220 |
| shell-format | fox | 7.2.5 |
| shellcheck | tim | 0.37.1 |
| sourcery | sou | 1.27.0 |
| supermaven | Sup | 1.1.12 |
| TabOut | alb | 0.2.2 |
| template-string-converter | meg | 0.6.1 |
| test-adapter-converter | ms- | 0.2.1 |
| Theme-Monokai | ger | 0.0.5 |
| trailing-spaces | sha | 0.4.1 |
| ts-essential-plugins | zar | 0.0.81 |
| tsimporter | pmn | 2.0.1 |
| turbo-console-log | Cha | 2.10.5 |
| vsc-python-indent | Kev | 1.18.0 |
| vscode-docker | ms- | 1.29.3 |
| vscode-edit-csv | jan | 0.10.0 |
| vscode-eslint | dba | 3.0.10 |
| vscode-fileutils | sle | 3.10.3 |
| vscode-github-actions | git | 0.27.0 |
| vscode-icons | vsc | 12.10.0 |
| vscode-jest-runner | fir | 0.4.74 |
| vscode-js-profile-table | ms- | 1.0.10 |
| vscode-language-babel | mgm | 0.0.40 |
| vscode-markdownlint | Dav | 0.57.0 |
| vscode-pull-request-github | Git | 0.102.0 |
| vscode-pylance | ms- | 2024.12.1 |
| vscode-react-refactor | pla | 1.1.3 |
| vscode-requirements | jan | 0.1.0 |
| vscode-speech | ms- | 0.12.1 |
| vscode-sql-formatter | lea | 2.1.6 |
| vscode-stylelint | sty | 1.4.0 |
| vscode-test-explorer | hbe | 2.22.1 |
| vscode-typescript-next | ms- | 5.8.20241215 |
| vscode-yaml | red | 1.15.0 |
| vsliveshare | ms- | 1.0.5941 |
System Info
| Item | Value |
|---|---|
| CPUs | Apple M1 Pro (10 x 2400) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | 12, 9, 8 |
| Memory (System) | 16.00GB (0.19GB free) |
| Process Argv | |
| Screen Reader | yes |
| VM | 0% |
Reacted by Alexey Trofimov
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterIssue requires more information from postertriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Activity
eleanorjboyd commentedon Dec 16, 2024
Hi! Do you have testing enabled? What about refresh tests on save? Might be related to a problem I just fixed: #24611 where testing (like discovery) was blocking the main node thread
tylerlaprade commentedon Dec 16, 2024
Eleanor Boyd (@eleanorjboyd) , I don't think I do. What are the relevant settings to check?
eleanorjboyd commentedon Dec 16, 2024
In your settings (either workspace or user) you would see these:
tylerlaprade commentedon Dec 16, 2024
I see, thanks Eleanor Boyd (@eleanorjboyd)! I do in fact have
pytestEnabledset to true.tylerlaprade commentedon Dec 16, 2024
Did your fix go live in the pre-release version in the past hour? I'm no longer experiencing the issue even while on pre-release.
eleanorjboyd commentedon Dec 16, 2024
hm im not entirely sure- a build failed and then got published so I will have to check if this change got in with it
karthiknadig commentedon Dec 17, 2024
The fix should be in this version
v2024.23.2024121701eleanorjboyd commentedon Dec 17, 2024
Let me know if this is not the case and I will reopen- thanks