pulumi/pkg/engine/lifecycletest
Thomas Gummerer 8099d314a7
destroy: implement --continue-on-error (#15727)
Implement a `--continue-on-error` flag for `pulumi destroy`. This makes
sure we continue processing destroys even if errors occur. We will only
continue for resources which do not depend on the failed resource, to
make sure we always have a valid snapshot available, and to not leave
any orphaned resources behind.

Resources that fail to destroy will still continue to be managed by
pulumi, and the process ends in an error to indicate to the user that
there were problems and the destroy didn't succeed cleanly.

The output will continue to be the same as for failed destroys, except
we now may succeed in destroying more resources than before.

/cc https://github.com/pulumi/pulumi/issues/3304
2024-03-22 09:22:40 +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 Fix flaky TestPropertyDependenciesAdapter (#15752) 2024-03-21 19:27:53 +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 destroy: implement --continue-on-error (#15727) 2024-03-22 09:22:40 +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