-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Enable Pytest Rewrite to Users #20086
Comments
is there a way for users to enable this themselves if the experiment isn't enabled for them? i wrote a pytest hook that relies on the new test adapter (pytest-dev/pytest-xdist#853 (comment)) and it would be nice if i could set something in edit: i just found |
@DetachHead, the experiment should be enabled for all users by default- do you have a setting that might turn on this default behavior? |
looks like it was because i have |
@eleanorjboyd do experiments work differently on the insiders version of vscode? the |
It should be enabled for everyone on both stable and insiders. To confirm both your user and workspace settings do not reference anything about experiments? |
yep, no experiments or telemetry settings have been changed from the defaults. same thing happens on a colleague's PC with a fresh install. i even deleted everything in both my user and workspace |
@luabud could you take a look at this? |
Hmm it should be enabled on both Insiders and Public. A couple of things to check:
I am also curious if there are any other experiments enabled, or if it's just this one that is disabled? You should be able to check this by opening the Python output channel ("Python: Show Output" command in the command palette) and looking into the first few lines there: |
yep, i'm on vscode
not sure where to find profile settings, but here's some screenshots of my user settings to show that there's no "modified elsewhere" messages on any of these settings:
no experiments showed up in the log, this is all i see: |
that's definitely unexpected. What happens if you explicitly add And you've downloaded VS Code from the official website, right? |
it works when i do that
yep |
also happened on a different colleague's PC with the stable version of vscode (1.88.1) and the stable version of the python extension (2024.4.1). i checked all the same things on their PC. telemetry is enabled, no experiment settings have been changed, yet no experiments were active in the python output terminal. |
I've done some digging and the only hypothesis I could come up with is a mis configuration on our end. I made some changes so if that was the culprit, it should be fixed now. Would you mind removing the opt into setting, reloading VS Code and checking your Python Output to see if you have the experiment enabled? If that didn't work, then I think #23241 is the fastest workaround we can provide for this issue indeed (cc @karthiknadig) |
didn't work, still no experiments enabled for me on vscode insiders
in that case, i went ahead and made a PR: #23267 |
Hey @eleanorjboyd, this issue might need further attention. @eleanorjboyd, you can help us out by closing this issue if the problem no longer exists, or adding more information. |
Enable the pytest rewrite code and disable the old pytest coding method. This may also include doing the same for unittests but for reduced load these two might need to be at separate times. Dependencies between the two workflows should be analyzed to determine a best release schedule.
The text was updated successfully, but these errors were encountered: