Skip to content

Conversation

karthiknadig
Copy link
Member

@karthiknadig karthiknadig commented Nov 4, 2021

Closes #17429

image

@karthiknadig karthiknadig added no-changelog No news entry required skip tests Updates to tests unnecessary labels Nov 4, 2021
@karthiknadig karthiknadig merged commit 5f49a51 into microsoft:main Nov 4, 2021
}

if (experimentsDisabled) {
this.output.appendLine('Experiments are disabled, logging experiments for info.');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@karthiknadig Wait, doesn't this mean experiments from storage are still logged if telemetry is disabled? I think we should only log experiment from settings, but not log experiments from storage if telemetry is disabled.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the end of the day, all we need to know is that experiments are disabled. Everything else is just for info. What is the benefit of skipping the stored details?

Copy link

@karrtikr karrtikr Nov 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manually opted in/out experiments are still valid even though telemetry is disabled, so we should only be logging experiments from settings.

@karrtikr karrtikr mentioned this pull request Nov 9, 2021
@karthiknadig karthiknadig deleted the log-experiments branch December 8, 2021 21:03
wesm pushed a commit to posit-dev/positron that referenced this pull request Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required skip tests Updates to tests unnecessary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not log experiments from storage if telemetry is disabled

2 participants