pulumi/pkg
Will Jones a2b227695c
Report snapshot write errors as actual errors (#16090)
When we finish an operation and close the snapshot manager, the snapshot
manager may perform a final write if there are unflushed changes (e.g.
refresh changes whose writes were elided at the time). Things may go
wrong at this point -- if something is wrong with the snapshot, the
integrity check following this write could fail; if a write error
occurs, pieces of the snapshot may be missing. In these cases, we really
don't want to swallow the error or report it as "just" a diagnostic,
because it's a real problem that will almost certainly rear its head on
the next Pulumi invocation when we attempt (and fail) to read the
snapshot (or worse, operate with an incomplete one). This commit changes
the existing flow to report all snapshot close errors as bonafide
failures, even if the actual operation has succeeded and been applied.
2024-04-30 17:23:18 +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 Report snapshot write errors as actual errors (#16090) 2024-04-30 17:23:18 +00:00
cmd/pulumi add support for --import-file when using the Automation API (#16071) 2024-04-30 11:31:43 +00:00
codegen Refactor: move plugin kind to apitype (#15946) 2024-04-25 17:30:30 +00:00
display Move sdk/go/common/display to /pkg/display (#13954) 2023-09-18 11:01:28 +00:00
engine Refactor: move plugin kind to apitype (#15946) 2024-04-25 17:30:30 +00:00
graph Adds a flag to graph command to insert fragment (#14858) 2024-01-08 22:03:08 +00:00
importer Lift context parameter to SerializeDeployment/Resource/Operations/Properties (#15929) 2024-04-15 07:45:46 +00:00
operations Move resource.URN to urn.URN (#15689) 2024-03-14 15:28:32 +00:00
resource display: only hide replacement steps in diff (#16065) 2024-04-26 14:54:21 +00:00
secrets skip GCP tests if credentials are not set (#16032) 2024-04-23 08:25:14 +00:00
testing/integration upgrade to latest version of golangci-lint (#15977) 2024-04-19 06:20:33 +00:00
util Refactor: move plugin kind to apitype (#15946) 2024-04-25 17:30:30 +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 Upgrade pulumi-yaml to 1.7.0 (#16082) 2024-04-30 11:32:16 +00:00
go.sum Upgrade pulumi-yaml to 1.7.0 (#16082) 2024-04-30 11:32:16 +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.