pulumi/changelog/pending
Julien 1cdd2315de
Don't search upwards for policy packs when determining required plugins (#16865)
We don't need to search upwards for PolicyPack files, we already know
that there aren't any since we don't recurse into policy packs. The
directory traversal is plenty fast on Linux, however it is much slower
on Windows. Node modules often have fairly wide and deep directory
structures, so this can considerably slow down any Pulumi operation that
runs `GetRequiredPlugins`.

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

On an `was-typescript` example, we can see the impact with
`Measure-Command {start-process pulumi -argumentlist "about" -Wait}`,
which goes from 25 seconds to 2 seconds on an Azure Windows VM.
2024-08-02 11:49:16 +00:00
..
20240712--cli-plugin--enable-overriding-plugin-download-urls-for-air-gapped-environments-with-an-environment-variable.yaml URL-based plugin source overrides via env var (#16648) 2024-07-26 10:37:09 +00:00
20240723--sdkgen-python--link-to-python-docs-about-input-types.yaml Link to Python docs about input types (#16763) 2024-07-31 08:46:04 +00:00
20240724--auto-go--add-install-command-to-workspace.yaml [Go] Add install command to workspace (#16782) 2024-07-31 08:15:45 +00:00
20240726--sdkgen-go-nodejs-python--fix-generation-of-nested-plain-input-types.yaml Fix marshalling of plain properties (#16812) 2024-07-26 21:36:22 +00:00
20240729--sdk-nodejs--fix-resource-reference-serialization-when-multiple-copies-of-atpulumi-pulumi-are-present.yaml [sdk/nodejs] Save pkg/mod registrations on async local store (#13240) 2024-08-02 07:37:06 +00:00
20240730--engine--provider-internal-state-is-now-seperated-from-provider-user-config.yaml Ensure internal provider state doesn't clash with user config (#16837) 2024-07-30 12:22:32 +00:00
20240801--programgen-go--sprintf-go-programgen.yaml Use pulumi.Sprintf in program gen (#16852) 2024-08-01 09:24:25 +00:00
20240802--cli-state--include-the-stack-name-in-the-passhprase-prompt-in-state-move.yaml state_move: include stack name in the passhprase prompt (#16861) 2024-08-02 10:59:12 +00:00
20240802--sdk-nodejs--dont-search-upwards-for-policy-packs-when-determining-required-plugins.yaml Don't search upwards for policy packs when determining required plugins (#16865) 2024-08-02 11:49:16 +00:00