-
Notifications
You must be signed in to change notification settings - Fork 89
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
feat(telemetry): Remove consent confirmation prompt for kedro-telemetry
#744
Conversation
Signed-off-by: Elena Khaustova <[email protected]>
Signed-off-by: Elena Khaustova <[email protected]>
Signed-off-by: Elena Khaustova <[email protected]>
kedro-telemetry
kedro-telemetry
kedro-telemetry
kedro-telemetry
A few things:
which is probably not related to this PR, but maybe it's too scary (specially given that it's printed twice, maybe because of #730?). I think there are 2 things here:
And finally, the "Kedro is sending anonymous usage data" message I proposed in #715 is not being shown. |
@astrojuanlu, thank you for the review!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @ElenaKhaustova. I tested all the PRs together, and everything works well. I also checked the telemetry info on Heap, and it's functioning correctly.
I believe we can merge the current PR and this one, then continue with message notification and new disabling methods, followed by other telemetry tickets.
I agree on merging the Starters PR last, just before the release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't test this, but from a code perspective this looks good to me. I agree that the environment variables should be done separately. We just need to make sure we don't do any releases until the full opt-out flow is implemented in all parts.
@@ -347,14 +346,17 @@ def _send_heap_event( | |||
|
|||
|
|||
def _check_for_telemetry_consent(project_path: Path) -> bool: | |||
""" | |||
Use a telemetry consent from ".telemetry" file if it exists and has a valid format. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use a telemetry consent from ".telemetry" file if it exists and has a valid format. | |
Use telemetry consent from ".telemetry" file if it exists and has a valid format. |
Signed-off-by: Elena Khaustova <[email protected]>
Signed-off-by: Elena Khaustova <[email protected]>
Signed-off-by: Elena Khaustova <[email protected]>
Signed-off-by: Elena Khaustova <[email protected]>
Signed-off-by: Elena Khaustova <[email protected]>
Signed-off-by: Elena Khaustova <[email protected]>
Signed-off-by: Elena Khaustova <[email protected]>
Signed-off-by: Elena Khaustova <[email protected]>
…try` (kedro-org#744) * Removed consent confirmation Signed-off-by: Elena Khaustova <[email protected]> * Updated tests Signed-off-by: Elena Khaustova <[email protected]> * Fixed ruff Signed-off-by: Elena Khaustova <[email protected]> * Fixed docstring Signed-off-by: Elena Khaustova <[email protected]> * Removed debug output Signed-off-by: Elena Khaustova <[email protected]> * Dummy commit Signed-off-by: Elena Khaustova <[email protected]> * Dummy commit Signed-off-by: Elena Khaustova <[email protected]> * Updated huggingface-hub version Signed-off-by: Elena Khaustova <[email protected]> * Updated huggingface-hub version Signed-off-by: Elena Khaustova <[email protected]> * CI fix Signed-off-by: Elena Khaustova <[email protected]> --------- Signed-off-by: Elena Khaustova <[email protected]> Signed-off-by: Merel Theisen <[email protected]>
Description
Partly solves #726
Development notes
_confirm_consent
was removed.telemetry
file if it exists and has a valid format otherwise, we consider consent isTrue
Checklist
RELEASE.md
file