GithubHelp home page GithubHelp logo

Comments (6)

khellang avatar khellang commented on July 29, 2024 6

Does it make sense to also set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1?

from setup-dotnet.

damccorm avatar damccorm commented on July 29, 2024 3

My instinct is to leave the telemetry on by default - I think if we can be helpful and provide telemetry back to .NET I'd probably rather do that by default and support them so that they can use that to make the product better!

I think I'm actually also hesitant to set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 - my reasoning here is that while this definitely makes sense for hosted pools, it seems like we wouldn't want this for private runners.

I'm not 100% sure on either of these, but that's my initial instinct - thoughts?

from setup-dotnet.

gitfool avatar gitfool commented on July 29, 2024 2

Please make this configurable via action parameters; this should only be a debate about the default values. It would be really nice to conveniently disable telemetry and first time experience as part of installing dotnet via this action.

Note: the way to disable first time experience seems to have changed in dotnet core 3.0 and now uses a sentinel file. Yet another reason to make such an option a parameter to this action.

from setup-dotnet.

Kissaki avatar Kissaki commented on July 29, 2024 1

to leave the telemetry on by default - I think if we can be helpful and provide telemetry back to .NET I'd probably rather do that by default and support them so that they can use that to make the product better!

I agree. A bit of log output like that is not really a hindrance for users.

The collected and transmitted data is undeniably not a security concern, but will help upstream quite a bit. It’s a low-effort support that should not be skipped because it requires no investment. It is the default behavior of the dotnet environment, and there should be a compelling reason to change that default.

If users want to prevent it they can set the environment variable themselves. It’s not like this action prevents them from disabling it. This is merely about the default, and I think transmission is totally fine.


To elaborate a bit more; let me explore two use cases.

A public repository will not have problems disclosing some build information, and submitting some generic statistics to dotnet upstream.

A private repository may be more conservative and restrictive, but as I said they can still set the environment variable to disable it themselves.

from setup-dotnet.

ZEisinger avatar ZEisinger commented on July 29, 2024

It seems we are agreed on leaving telemetry on. But I like the log message dotnet adds and think it would be useful.

For DOTNET_SKIP_FIRST_TIME_EXPERIENCE, my testing was not showing any improvement. Looking though some dotnet stuff I see that 3.0 may no longer do the dotnet priming that was causing slowness on the first run: https://github.com/dotnet/cli/issues/4919#issuecomment-488060488

Personally I think adding descriptions of a couple relevant environment variables to the README would provide value without setting up an environment that is not the default. This could also cover #10.

from setup-dotnet.

ZEisinger avatar ZEisinger commented on July 29, 2024

Closing this issue, the improved documentation provides ways to disable the first run message and telemetry.

from setup-dotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.