Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-release version breaks Source Control auto-refresh #24612

Closed
tylerlaprade opened this issue Dec 16, 2024 · 8 comments
Closed

Pre-release version breaks Source Control auto-refresh #24612

tylerlaprade opened this issue Dec 16, 2024 · 8 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team

Comments

@tylerlaprade
Copy link

tylerlaprade commented Dec 16, 2024

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:

  1. Ensure you're on the latest version of VSCode as well as the pre-release version of the Python Extension
  2. Check out a branch in Git
  3. Switch branches using the command line
  4. The "current branch" in the status bar does not update
Image

Diagnostic data

Output for Python in the Output panel (ViewOutput, 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.languageServer setting: 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%
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Dec 16, 2024
@eleanorjboyd
Copy link
Member

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

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Dec 16, 2024
@tylerlaprade
Copy link
Author

@eleanorjboyd , I don't think I do. What are the relevant settings to check?

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Dec 16, 2024
@eleanorjboyd
Copy link
Member

In your settings (either workspace or user) you would see these:

    "python.testing.unittestEnabled": false,
    "python.testing.pytestEnabled": true,

@tylerlaprade
Copy link
Author

I see, thanks @eleanorjboyd! I do in fact have pytestEnabled set to true.

@tylerlaprade
Copy link
Author

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 eleanorjboyd added the bug Issue identified by VS Code Team member as probable bug label Dec 16, 2024
@eleanorjboyd eleanorjboyd self-assigned this Dec 16, 2024
@eleanorjboyd
Copy link
Member

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
Copy link
Member

The fix should be in this version v2024.23.2024121701

@eleanorjboyd
Copy link
Member

Let me know if this is not the case and I will reopen- thanks

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

3 participants