pulumi/scripts
Thomas Gummerer 13371f9865
Start policy packs in parallel (#14495)
Currently we start up and thus compile policy packs one by one. When
multiple policy packs need to be loaded, this increases the start up
time substantially. In previous tests plugins took ~1-3s to start up, so
having multiple of these the time adds up quickly.

Loading them in parallel will help reduce the startup time here.

Fixes #14454

## Checklist

- [x] I have run `make tidy` to update any new dependencies
- [x] I have run `make lint` to verify my code passes the lint check
  - [x] I have formatted my code using `gofumpt`

<!--- 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. -->
2023-11-20 14:08:32 +00:00
..
brew.sh ci: Enable goreleaser prep script to build for local os & arch 2022-09-16 09:50:10 -07:00
get-job-matrix.py Update test matrix to run on Python 3.8.x (#14581) 2023-11-15 18:44:02 +00:00
get-language-providers.sh Update dotnet (#14577) 2023-11-15 16:09:15 +00:00
get-pulumi-watch.sh ci: Enable goreleaser prep script to build for local os & arch 2022-09-16 09:50:10 -07:00
get-version ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
go-test.py Make language-python it's own module (#13819) 2023-08-31 16:35:21 +00:00
go-update.sh ci: Remove -compat=1.18 flags to validate that tests pass on current and minimum supported Go versions 2022-09-27 10:41:25 -07:00
go-wrapper.sh Make language-python it's own module (#13819) 2023-08-31 16:35:21 +00:00
integration_test_subsets.py Start policy packs in parallel (#14495) 2023-11-20 14:08:32 +00:00
normpath Toward replacing MSBuild with make+bash on Windows (#8617) 2022-01-07 22:27:14 -05:00
prep-for-goreleaser.sh ci: Enable goreleaser prep script to build for local os & arch 2022-09-16 09:50:10 -07:00
publish_npm.sh Temporary changes to unblock v3.88.1 release (#14163) 2023-10-11 22:58:47 +00:00
pulumi-version.sh ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
release.sh Fix mislabeling in error message of release script (#10421) 2022-08-17 10:51:03 +01:00
retry scripts/retry: set-output is deprecated 2023-03-01 14:11:23 -08:00
reversion.js Substitute ${VERSION} on Windows builds too 2018-02-20 14:37:28 -08:00
tidy.sh Support returning plain values from methods (#13592) 2023-11-18 06:02:06 +00:00
versions.sh ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00