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
The extension for VS Code ignores the modern telemetry flag #1463
Comments
Thanks for the issue, that is definitely an oversight on our side. For context, this is where the deprecation was announced: https://code.visualstudio.com/updates/v1_61#_telemetry-settings |
@janpio that's right. If the flag of the In my estimation of what you have in your documentation, you can send a request to the server if the user specifically states in the telemetry settings that they agree to everything (setting =
Damn, literally ages ago😅 |
Raised internally and will try to get this fixed asap. |
Thanks for opening this issue, I thought this was already implemented since a long time ago (#526) |
I opened a PR to fix this and react to |
@kergian Thanks a lot for reporting this! Let me know if it works as expected, I added a log in the DevTools to easily figure what's the state: |
@Jolg42 Joël - tested it and it works! Telemetry is no longer being sent. Thanks guys! 🤩 Issue can be safely closed🚀 |
Bug description
The extension for
VS Code
ignores the telemetry flag of modern versions of the editor.The documentation for the extension says: to disable telemetry, specify
telemetry.enableTelemetry": false
in the settings.The problem is that this flag was used in past versions of VS Code and has long been declared deprecated in favor of
telemetry.telemetryLevel
.The official VS Code documentation has a description of the new settings and how they work: Telemetry
So if someone uses a modern version of VS Code with the new telemetry setting flag, the extension ignores it and still goes to
checkpoint.prisma.io
.How to reproduce
off
checkpoint.prisma.io
telemetry.enableTelemetry: false
flag, even though modern versions of VS Code have declared it deprecated, the extension takes it into account and does not send the request to its serverExpected behavior
The new flag should be taken into account and no request should be sent to the server
Environment & setup
The text was updated successfully, but these errors were encountered: