pulumi/pkg
Pat Gavlin 86f20b8b69 [engine] Patch MLC source positions
When a user program creates a multi-lanugage component, the engine
issues a construct call to the component's provider rather than
issuing an actual resource registration. Instead, the component's
provider is responsible for registering the component resource. This
creates a problem for source positions: because the component provider
is registering the component, the component's source location will be
recorded as the position of the registration in the component provider
rather than in the user program.

These changes address this problem by starting a proxy per component
instantiation that patches the source position of the MLC itself when
it is registered and clears the source positions for other resources
registered by the MLC.

Instead of clearing source positions for non-root resources registered
by MLCs, future changes should add support for translating the reported
positions for these resources to component-relative positions.
2023-07-14 13:08:09 -07:00
..
authhelpers make linter happy 2023-02-08 10:30:10 -08:00
backend [engine] Add support for source positions 2023-07-10 14:35:40 -07:00
cmd/pulumi Consistently use the same non-strict bind options when applicable 2023-07-13 15:16:06 +02:00
codegen Consistently use the same non-strict bind options when applicable 2023-07-13 15:16:06 +02:00
engine [engine] Patch MLC source positions 2023-07-14 13:08:09 -07:00
graph Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
importer Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
operations Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
resource [engine] Patch MLC source positions 2023-07-14 13:08:09 -07:00
secrets Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
testing/integration ci: Track code coverage 2023-06-28 13:30:13 -07:00
util Improve the stack validation error message 2023-06-28 00:48:19 +02:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
workspace Don't try to install provider during schema loading unless missing 2023-06-28 14:12:17 +01:00
README.md export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00
go.mod chore: post-release go.mod updates 2023-07-12 23:26:48 +00:00
go.sum deps(go): Upgrade to grpc 1.56.1 2023-07-06 09:04:16 -07: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.