pulumi/pkg/engine/lifecycletest
Justin Van Patten afd2561fd2
Fix: Don't delete stack outputs on failed deployments (#15754)
If an update fails, update any stack outputs that were updated, but
otherwise leave existing stack outputs as-is. In other words, don't
delete stack outputs if the stack didn't successfully run to completion.

Implementation note: when we receive a RegisterResourceOutputsEvent for
the stack resource, we defer processing it until the end of the
deployment, to know whether the deployment ran to completion without
errors.

Fixes #14621

---------

Co-authored-by: Thomas Gummerer <t.gummerer@gmail.com>
2024-03-25 22:37:46 +00:00
..
alias_test.go Add an engine test for Construct and Call dependency maps (#15403) 2024-02-08 13:01:47 +00:00
analyzer_test.go Downgrade remediate policy violations to mandatory (#15618) 2024-03-07 15:10:36 +00:00
delete_before_replace_test.go Check for protect in replace chains (#15776) 2024-03-25 20:07:36 +00:00
golang_sdk_test.go Add an engine test for Construct and Call dependency maps (#15403) 2024-02-08 13:01:47 +00:00
import_test.go Add an engine test for Construct and Call dependency maps (#15403) 2024-02-08 13:01:47 +00:00
pending_delete_test.go Update golangci-lint (#14624) 2023-11-21 15:16:13 +00:00
provider_test.go Add an engine test for Construct and Call dependency maps (#15403) 2024-02-08 13:01:47 +00:00
pulumi_test.go Fix: Don't delete stack outputs on failed deployments (#15754) 2024-03-25 22:37:46 +00:00
refresh_test.go Add an engine test for Construct and Call dependency maps (#15403) 2024-02-08 13:01:47 +00:00
resource_reference_test.go Add an engine test for Construct and Call dependency maps (#15403) 2024-02-08 13:01:47 +00:00
source_query_test.go Ensure ArgsDependencies are filled in (#15450) 2024-02-21 09:15:38 +00:00
step_generator_test.go Add an engine test for Construct and Call dependency maps (#15403) 2024-02-08 13:01:47 +00:00
target_test.go Fix panic when changing untargetted provider versions (#15716) 2024-03-20 09:44:49 +00:00
test_plan.go [tests] testBuilder: Use specified package name (#15269) 2024-01-26 16:20:45 +00:00
transformation_test.go Send output values to transforms for dependency tracking (#15637) 2024-03-20 09:53:33 +00:00
update_plan_test.go Add an engine test for Construct and Call dependency maps (#15403) 2024-02-08 13:01:47 +00:00