pulumi/pkg/resource
bors[bot] 761d1c74eb
Merge #11021
11021: Avoid backfilling property deps for Go r=justinvp a=justinvp

Two changes:

## 1. Go SDK

Change the Go SDK to always send a filled-in property dependencies map, which is consistent with all of the other language SDKs. This prevents the engine from backfilling an empty map with explicit dependencies specified in the `pulumi.DependsOn` `ResourceOption`.

**Node.js:**

a4dbd1da4f/sdk/nodejs/runtime/rpc.ts (L140-L143)

**Python:**

a4dbd1da4f/sdk/python/lib/pulumi/runtime/rpc.py (L211-L223)

**.NET:**

a4dbd1da4f/sdk/dotnet/Pulumi/Deployment/Deployment_Serialization.cs (L79-L83)

**Java:**

33e2d98ad9/sdk/java/pulumi/src/main/java/com/pulumi/serialization/internal/PropertiesSerializer.java (L67-L72)

## 2. Engine

Stop doing the backfilling in the engine when remote is true, because all clients that support remote already support passing property dependencies, so there's no need to backfill. The backfill behavior was meant for very old clients that didn't support sending property dependencies.

Fixes #10951


Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2022-10-14 16:24:21 +00:00
..
analyzer ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
deploy Merge #11021 2022-10-14 16:24:21 +00:00
edit Readd "Make StackReference.Name a tokens.Name (#9088)" (#9236) 2022-03-17 21:37:11 +00:00
graph ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
provider Add tracing to `npm install` and fix orphan tracing (#10518) 2022-09-12 17:42:27 -04:00
stack feat(engine): Adds structured alias support to the engine 2022-10-11 17:56:32 -04:00
testdata ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00