pulumi/changelog/pending
bors[bot] 6dd2b02691
Merge #12643 #12656 #12658
12643: Fix config set-all saving secret provider configuration r=Frassle a=Frassle

<!--- 
Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation.
-->

# Description

<!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. -->

Clean up some more hidden loading of config files in `getStackEncrypter`/`getStackDecrypter` that could cause the config file to change due to secret provider initialization. Importantly this was missed in `config set-all` where we would load the config file, then later on call `getStackEncrypter` which would initialize the secrets config and save it to disk, but not return that information back up to "set-all" which then overwrote it with the config structure that it had been building. This could result in secret values written to the config file but without saving their salt meaning they could never correctly be decrypted.

Fixes https://github.com/pulumi/pulumi/issues/12632.

## Checklist

<!--- Please provide details if the checkbox below is to be left unchecked. -->
- [x] I have added tests that prove my fix is effective or that my feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the Pulumi Cloud,
then the service should honor older versions of the CLI where this change would not exist.
You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Cloud API version
  <!-- `@Pulumi` employees: If yes, you must submit corresponding changes in the service repo. -->


12656: Fix panic in archive diff r=Frassle a=Frassle

<!--- 
Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation.
-->

# Description

<!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. -->

Fixes https://github.com/pulumi/pulumi/issues/12655.

## Checklist

<!--- Please provide details if the checkbox below is to be left unchecked. -->
- [ ] I have added tests that prove my fix is effective or that my feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the Pulumi Cloud,
then the service should honor older versions of the CLI where this change would not exist.
You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Cloud API version
  <!-- `@Pulumi` employees: If yes, you must submit corresponding changes in the service repo. -->


12658: Log that we're falling back to get.pulumi.com r=Frassle a=Frassle

<!--- 
Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation.
-->

# Description

<!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. -->

Currently the "GitHub rate limit exceeded, try again in XmYs." errors look pretty bad because it's not clear that we then fallback got get.pulumi.com for our plugins when hitting this error. Adding this log line so it's a bit clearer what's going on when reading log files back.

Co-authored-by: Fraser Waters <fraser@pulumi.com>
2023-04-12 14:30:07 +00:00
..
20230327--sdk-go--fix-hang-due-to-component-children-cycles.yaml [sdk/go] Fix hang due to component children cycles 2023-03-26 23:46:54 -07:00
20230327--sdk-nodejs--fix-hang-due-to-component-children-cycles.yaml [sdk/nodejs] Fix hang due to component children cycles 2023-04-07 07:34:38 -07:00
20230327--sdk-python--fix-hang-due-to-component-children-cycles.yaml [sdk/python] Fix hang due to component children cycles 2023-04-07 07:23:04 -07:00
20230406--programgen--suppport-the-any-type-in-config-and-outputs.yaml Support map(any) in config/output types 2023-04-06 21:15:20 +01:00
20230410--backend-filestate--propagate-request-context-to-external-call-sites.yaml pkg/filestate: Plumb context 2023-04-10 15:53:32 -07:00
20230411--cli-config--fix-config-set-all-not-saving-secret-provider-configuration.yaml Fix config set-all saving secret provider configuration 2023-04-12 15:21:29 +01:00
20230412--cli-display--fix-a-panic-when-diffing-empty-archives.yaml Fix panic in archive diff 2023-04-12 10:14:45 +01:00