pulumi/pkg
Thomas Gummerer 34b0409d07
continue-on-error: respect all dependency relationships (#16639)
When running `pulumi up --continue-on-error`, we can't bring up new
resources that have dependencies that have failed, or have been skipped.
Since the resource would have a failed dependency, that dependency would
not be in the snapshot, resulting in a snapshot integrity failure. Also
it simply does not make sense to `up` a resource that has a failed
dependency.

We took care of that for the regular dependency relationship, however at
the time we missed doing the same for other types of dependencies,
namely parent-child relationships, deleted with relationships and
property dependencies.

This can result in snapshot integrity failures for example when a parent
fails to be created, but we still do the resource creation of the child,
such as what happened in https://github.com/pulumi/pulumi/issues/16638.

Fix this by skipping the step when a resource with any type of
dependency relationship fails or is skipped beforehand.

Fixes https://github.com/pulumi/pulumi/issues/16638
2024-07-12 09:42:57 +00:00
..
asset Move some asset code to pkg (#15162) 2024-01-17 11:30:37 +00:00
authhelpers Add tests for gcpauth pkg (#13926) 2023-09-13 11:27:03 +00:00
backend New deployment settings wizards and environment variables management comands (#16564) 2024-07-03 20:24:26 +00:00
cmd/pulumi Install policy or project dependencies based on nearest configuration file (#16631) 2024-07-12 08:56:18 +00:00
codegen Fix incorrect YAML type checking of StackReference outputs (#16625) 2024-07-11 14:17:41 +00:00
display Move sdk/go/common/display to /pkg/display (#13954) 2023-09-18 11:01:28 +00:00
engine continue-on-error: respect all dependency relationships (#16639) 2024-07-12 09:42:57 +00:00
graph Adds a flag to graph command to insert fragment (#14858) 2024-01-08 22:03:08 +00:00
importer [engine/import] Guess references to properties between dependant resources during import (#16234) 2024-07-02 10:02:31 +00:00
operations Move resource.URN to urn.URN (#15689) 2024-03-14 15:28:32 +00:00
resource continue-on-error: respect all dependency relationships (#16639) 2024-07-12 09:42:57 +00:00
secrets cloud backend test: retry creating secrets manager (#16494) 2024-06-27 04:33:56 +00:00
testing/integration Add packagemanager prompt to pulumi new for nodejs (#16417) 2024-06-21 11:35:06 +00:00
util [cli/plugin] Fix plugin install command when plugin type is tool (#16407) 2024-06-17 13:25:57 +00:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
workspace Refactor: move plugin kind to apitype (#15946) 2024-04-25 17:30:30 +00:00
README.md export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00
go.mod Update Pulumi YAML to 1.9.1 (#16636) 2024-07-11 22:33:05 +00:00
go.sum Update Pulumi YAML to 1.9.1 (#16636) 2024-07-11 22:33:05 +00:00

README.md

pulumi/pkg

While pulumi/sdk maintains strict backwards compatibility guarantees, code under pkg/ is handled more informally: while breaking changes are still discouraged they may happen when they make sense.