pulumi/pkg
Pat Gavlin f385127b6a [engine] expand dependencies in step gen
These changes implement a higher-level fix for #7780 by expanding the
dependencies of a resource as part of step generation.

Dependency expansion is responsible for expanding dependencies on
component resources into dependencies on the component resource _and_
the component resource's descendents _at the time the dependent is
registered_.

For example, given a dependency on Comp1 in the following parent/child
graph:

              Comp1
         _______|__________
         |      |          |
      Cust1   Comp2      Comp3
             ___|___       |
             |     |       |
           Cust2  Cust3  Comp4
             |             |
           Cust4         Cust5

The expanded dependencies set will be [Comp1, Cust1, Comp2, Comp3,
Cust2, Cust3, Comp4, Cust5]. Notably, Cust4 is *not* a member of the
set because it is a child of a custom resource.

These changes are complementary to the changes in #7788. The primary
benefit of the early expansion approach is that the expanded
dependencies will be present in events and the statefile, so downstream
consumers do not need to replicate the expansion logic in order to
understand the totality of a resource's dependencies.
2021-08-20 10:22:57 -07:00
..
backend [backend/http] Better lease renewal diagnosability (#7761) 2021-08-13 15:14:07 -05:00
cmd/pulumi Stop printing value if it looks like a secret (#7327) 2021-08-13 06:07:52 -07:00
codegen stabilize go codegen for nested collection types (#7787) 2021-08-18 12:07:30 -07:00
engine [engine] expand dependencies in step gen 2021-08-20 10:22:57 -07:00
graph [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
operations [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
resource [engine] expand dependencies in step gen 2021-08-20 10:22:57 -07:00
secrets [cli] Prevent regression in loading passphrase secrets provider from state (#6976) 2021-05-06 14:40:44 +01:00
testing/integration Fix order of go mod tidy (#7799) 2021-08-19 15:03:52 -04:00
util [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
go.mod [codegen/schema] YAML {un,}marshaling support. (#7509) 2021-07-13 16:41:40 -07:00
go.sum [engine] expand dependencies in step gen 2021-08-20 10:22:57 -07:00