pulumi/pkg
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
..
authhelpers Add support for authentication via GOOGLE_CREDENTIALS (#6379) 2022-06-07 16:02:08 +01:00
backend Support PULUMI_OPTIMIZED_CHECKPOINT_PATCH protocol 2022-10-12 12:29:05 -04:00
cmd/pulumi Merge #11011 2022-10-14 06:52:40 +00:00
codegen Merge #10995 2022-10-14 12:30:55 +00:00
engine Remove warnings about component options from diagnostics 2022-10-13 15:42:52 +01:00
graph Update error handling (#8406) 2021-11-12 18:37:17 -08:00
operations ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
resource Merge #11021 2022-10-14 16:24:21 +00:00
secrets Remove dependency on errors.Wrap from pkg module 2022-09-26 14:49:15 -07:00
testing/integration ci: Refactor options setup & constructor 2022-10-11 10:18:14 -07:00
util [cli] Enable single-file Pulumi YAML templates (#10437) 2022-08-18 23:13:56 +01:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
README.md export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00
go.mod Upgrade yaml to v0.5.10 2022-10-13 14:39:25 -07:00
go.sum Upgrade yaml to v0.5.10 2022-10-13 14:39:25 -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.