pulumi/pkg/engine/lifecycletest
Fraser Waters a0e0208dd1
Change parameterization to be bytes based (#16606)
Making this change has a couple of benefits.

Firstly (and honestly the main one) is it make codegen much simpler. We
just to emit a base64 string and/or other embedded byte array to the
generated SDK. Currently we need emit a full `proto.Value` expression
for each language, and that's not hard but it's also not trivial and
means more combinations of things per test per language.

Secondly it will allow providers to use more efficient encodings of
their parameter than JSON if there is one. I imagine some providers
might make the parameter value a protobuf message and parse that
(similar to what we do for transform functions), but they can easily
fallback to just treating the bytes as a JSON string if they want.

The only downside to this is the value is obfuscated in the generated
SDK and in the state file. Neither of those are really expected to be
viewed by users, so this feels like a minor loss.
2024-07-10 11:15:35 +00:00
..
testdata fix hang when continue-on-error is used with import resource option (#16572) 2024-07-03 10:24:26 +00:00
alias_test.go Add display to the engine tests (#16050) 2024-05-13 07:18:25 +00:00
analyzer_test.go Add display to the engine tests (#16050) 2024-05-13 07:18:25 +00:00
continue_on_error_test.go fix hang when continue-on-error is used with import resource option (#16572) 2024-07-03 10:24:26 +00:00
delete_before_replace_test.go Add display to the engine tests (#16050) 2024-05-13 07:18:25 +00:00
golang_sdk_test.go Add display to the engine tests (#16050) 2024-05-13 07:18:25 +00:00
import_test.go Normalize plugin.Provider methods to (Context, Request) -> (Response, error) (#16302) 2024-06-07 19:47:49 +00:00
parameterized_test.go Change parameterization to be bytes based (#16606) 2024-07-10 11:15:35 +00:00
pending_delete_test.go Add display to the engine tests (#16050) 2024-05-13 07:18:25 +00:00
pending_replace_test.go Don't re-delete resources that are `PendingReplacement` (#16510) 2024-06-28 23:16:20 +00:00
provider_test.go Add display to the engine tests (#16050) 2024-05-13 07:18:25 +00:00
pulumi_test.go Display `[retain]` in all cases of delete retention (#16506) 2024-06-28 23:19:26 +00:00
refresh_legacy_diff_test.go Change `pulumi refresh` to report diff relative to desired state instead of relative to only output changes (#16146) 2024-06-12 16:17:05 +00:00
refresh_test.go Don't call `Diff` when refreshing external resources (#16544) 2024-07-02 10:11:10 +00:00
resource_reference_test.go Add display to the engine tests (#16050) 2024-05-13 07:18:25 +00:00
retain_on_delete_test.go Display `[retain]` in all cases of delete retention (#16506) 2024-06-28 23:19:26 +00:00
source_query_test.go deploytest/RegisterResource: return struct instead of values (#15988) 2024-04-19 11:08:56 +00:00
step_generator_test.go Add display to the engine tests (#16050) 2024-05-13 07:18:25 +00:00
target_test.go Propagate deleted dependencies of untargeted resources (#16247) 2024-05-23 12:31:03 +00:00
test_plan.go Normalize plugin.Provider methods to (Context, Request) -> (Response, error) (#16302) 2024-06-07 19:47:49 +00:00
transformation_test.go resolve providers in the engine before running transforms (#16409) 2024-06-21 08:55:17 +00:00
update_plan_test.go Add display to the engine tests (#16050) 2024-05-13 07:18:25 +00:00