pulumi/sdk/nodejs/proto
Anton Tayanovskyy 70b144d8c3
Document news ignore changes processing in the provider protocol (#16725)
This change adds comments in the protobuf definitions of the
Engine<->Provider protocol to highlight that the `news` value passed to
the provider may be influenced by the state, specifically the old inputs
stored in the state, in an Update scenario, and pre-processed to
implement ignoreChanges at the engine level. This was not entirely
obvious when analyzing provider behavior, and it helps having this
documented in the proto files.

Note that this is especially confusing since the engine is also passing
ignoreChanges to the provider as if to say "please implement it on your
end". This is indeed something that is used to suppress any residual
diffs, say in Terraform-bridged providers, but what's not obvious is
that the engine performs a bit of processing here already.

The relevant implementation seems to be around
https://github.com/pulumi/pulumi/blame/master/pkg/resource/deploy/step.go#L1407

---------

Co-authored-by: Ian Wahbe <ian@wahbe.com>
2024-07-29 14:28:39 +00:00
..
codegen Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
testing Add SupportPack to schemas to write out in the new style (#15713) 2024-03-22 09:25:46 +00:00
alias_grpc_pb.js feat(engine): Adds structured alias support to the engine 2022-10-11 17:56:32 -04:00
alias_pb.d.ts Update node sdk to use typescript definitions for grpc and protobufs. (#14415) 2023-12-04 15:22:44 +00:00
alias_pb.js Fix recursive fixups in JavaScript protobuf generation (#14424) 2023-11-10 13:31:14 +00:00
analyzer_grpc_pb.d.ts Update node sdk to use typescript definitions for grpc and protobufs. (#14415) 2023-12-04 15:22:44 +00:00
analyzer_grpc_pb.js Policy remediations feature (#14080) 2023-10-09 18:31:17 +00:00
analyzer_pb.d.ts Update node sdk to use typescript definitions for grpc and protobufs. (#14415) 2023-12-04 15:22:44 +00:00
analyzer_pb.js Fix recursive fixups in JavaScript protobuf generation (#14424) 2023-11-10 13:31:14 +00:00
callback_grpc_pb.d.ts Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
callback_grpc_pb.js Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
callback_pb.d.ts Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
callback_pb.js Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
converter_grpc_pb.d.ts Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
converter_grpc_pb.js Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
converter_pb.d.ts Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
converter_pb.js Clean up unused import warnings (#15581) 2024-03-04 13:01:25 +00:00
engine_grpc_pb.d.ts Update node sdk to use typescript definitions for grpc and protobufs. (#14415) 2023-12-04 15:22:44 +00:00
engine_grpc_pb.js Compile protobufs with "pulumi" namespace (#10074) 2022-07-12 14:45:03 +01:00
engine_pb.d.ts Update node sdk to use typescript definitions for grpc and protobufs. (#14415) 2023-12-04 15:22:44 +00:00
engine_pb.js Fix recursive fixups in JavaScript protobuf generation (#14424) 2023-11-10 13:31:14 +00:00
errors_grpc_pb.js Regenerate protocol buffers code 2020-02-28 11:53:47 +00:00
errors_pb.d.ts Update node sdk to use typescript definitions for grpc and protobufs. (#14415) 2023-12-04 15:22:44 +00:00
errors_pb.js Fix recursive fixups in JavaScript protobuf generation (#14424) 2023-11-10 13:31:14 +00:00
language_grpc_pb.d.ts Query language runtime for options during “pulumi new” (#16346) 2024-06-17 17:10:55 +00:00
language_grpc_pb.js Query language runtime for options during “pulumi new” (#16346) 2024-06-17 17:10:55 +00:00
language_pb.d.ts [cli/import] Fix undefined variable errors in code generation when imported resources use a parent or provider (#16786) 2024-07-25 13:53:44 +00:00
language_pb.js [cli/import] Fix undefined variable errors in code generation when imported resources use a parent or provider (#16786) 2024-07-25 13:53:44 +00:00
plugin_grpc_pb.js Regenerate protocol buffers code 2020-02-28 11:53:47 +00:00
plugin_pb.d.ts Update node sdk to use typescript definitions for grpc and protobufs. (#14415) 2023-12-04 15:22:44 +00:00
plugin_pb.js Fix recursive fixups in JavaScript protobuf generation (#14424) 2023-11-10 13:31:14 +00:00
provider_grpc_pb.d.ts Add Paramaterize to provider interface (#16174) 2024-05-15 16:22:39 +00:00
provider_grpc_pb.js Document news ignore changes processing in the provider protocol (#16725) 2024-07-29 14:28:39 +00:00
provider_pb.d.ts Change parameterization to be bytes based (#16606) 2024-07-10 11:15:35 +00:00
provider_pb.js Change parameterization to be bytes based (#16606) 2024-07-10 11:15:35 +00:00
resource_grpc_pb.d.ts implement engine support for invoke transforms (#16559) 2024-07-11 16:01:44 +00:00
resource_grpc_pb.js implement engine support for invoke transforms (#16559) 2024-07-11 16:01:44 +00:00
resource_pb.d.ts Add parameterized `Call` support to the engine (#16813) 2024-07-26 15:36:53 +00:00
resource_pb.js Add parameterized `Call` support to the engine (#16813) 2024-07-26 15:36:53 +00:00
source_grpc_pb.js [engine] Add support for source positions 2023-07-10 14:35:40 -07:00
source_pb.d.ts Update node sdk to use typescript definitions for grpc and protobufs. (#14415) 2023-12-04 15:22:44 +00:00
source_pb.js Fix recursive fixups in JavaScript protobuf generation (#14424) 2023-11-10 13:31:14 +00:00
status_grpc_pb.js Regenerate protocol buffers code 2020-02-28 11:53:47 +00:00
status_pb.d.ts Update node sdk to use typescript definitions for grpc and protobufs. (#14415) 2023-12-04 15:22:44 +00:00
status_pb.js Compile protobufs with "pulumi" namespace (#10074) 2022-07-12 14:45:03 +01:00