pulumi/sdk/go/common/env
Artur Laksberg cd3921eda6
Enable Copilot link by default (#17293)
- `PULUMI_SHOW_COPILOT_LINK` env var is no longer recognized. Instead,
off-by-default `PULUMI_SUPPRESS_COPILOT_LINK` can be used to suppress
the link generation

- Since we changed the logic a few times, I added more level 7 logging
to ease troubleshooting. The log will look like this:

```
Copilot in org 'pulumi' is enabled for user 'artur-pulumi-corp' but the environment variable PULUMI_SUPPRESS_COPILOT_LINK suppresses the link to Copilot in diagnostics
```
2024-09-20 01:15:16 +00:00
..
env.go Enable Copilot link by default (#17293) 2024-09-20 01:15:16 +00:00