pulumi/proto/pulumi
Thomas Gummerer 4169755866
Implement up --continue-on-error (#15740)
Similar to destroy --continue-on-error, this flag allows `pulumi up`
to continue if any errors are encountered.

Currently when we encounter an error while creating/updating a
resource, we cancel the context of the deployment executor, and thus
the deployment stops once the resources that are being processed in
parallel with the failed one finish being updated.

For --continue-on-error, we ignore these errors, and let the
deployment executor continue.  In order for the deployment executor to
exit eventually we also have to mark these steps as done, as the
deployment executor will otherwise just hang, and callers with open
channels waiting for it to finish/report back will hang indefinitely.

The errors in the step will still be reported back to the user by the
OnResourceStepPost callback.

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

---------

Co-authored-by: Fraser Waters <fraser@pulumi.com>
2024-04-22 11:12:45 +00:00
..
codegen Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
testing Add SupportPack to schemas to write out in the new style (#15713) 2024-03-22 09:25:46 +00:00
alias.proto feat(engine): Adds structured alias support to the engine 2022-10-11 17:56:32 -04:00
analyzer.proto Policy remediations feature (#14080) 2023-10-09 18:31:17 +00:00
callback.proto Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
converter.proto Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
engine.proto Fix the go_package option on the .proto files 2022-09-20 09:31:03 +01:00
errors.proto Fix the go_package option on the .proto files 2022-09-20 09:31:03 +01:00
language.proto Use the local artifacts, not released artifacts in conformance tests (#15777) 2024-03-26 13:10:34 +00:00
plugin.proto Allow language plugins to return plugin checksums (#13776) 2023-08-25 15:26:25 +00:00
provider.proto Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
resource.proto Implement up --continue-on-error (#15740) 2024-04-22 11:12:45 +00:00
source.proto [engine] Add support for source positions 2023-07-10 14:35:40 -07:00