pulumi/pkg/engine/lifecycletest
Thomas Gummerer 80acb16a54
pass through property values to RunRequest (#14273)
# Description

This is an alternative to https://github.com/pulumi/pulumi/pull/14244.
Instead of adding type information to the run request, pass the config
through as property values. Property values are properly encoded on the
wire, and can be unmarshalled on the other end including type
information, so this should be a more future proof way to go forward.

Eventually we'll want to parse the config directly into property values,
but that can be left for the future, as it's a bigger change.

## Checklist

- [x] I have run `make tidy` to update any new dependencies
- [x] I have run `make lint` to verify my code passes the lint check
  - [x] I have formatted my code using `gofumpt`

<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [ ] I have added tests that prove my fix is effective or that my
feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the
`changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the
Pulumi Cloud,
then the service should honor older versions of the CLI where this
change would not exist.
You must then bump the API version in
/pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2023-10-20 10:44:16 +00:00
..
alias_test.go Send old inputs to Delete (#14051) 2023-10-13 14:12:26 +00:00
analyzer_test.go Use `assert.NoError` rather than `assert.Nil` (#14233) 2023-10-13 09:46:07 +00:00
delete_before_replace_test.go Use `assert.NoError` rather than `assert.Nil` (#14233) 2023-10-13 09:46:07 +00:00
golang_sdk_test.go Use `assert.NoError` rather than `assert.Nil` (#14233) 2023-10-13 09:46:07 +00:00
import_test.go Use `assert.NoError` rather than `assert.Nil` (#14233) 2023-10-13 09:46:07 +00:00
pending_delete_test.go Cleanup result.Result in pkg/engine (#14136) 2023-10-11 14:44:09 +00:00
provider_test.go Send old inputs to Delete (#14051) 2023-10-13 14:12:26 +00:00
pulumi_test.go pass through property values to RunRequest (#14273) 2023-10-20 10:44:16 +00:00
refresh_test.go Use `assert.NoError` rather than `assert.Nil` (#14233) 2023-10-13 09:46:07 +00:00
resource_reference_test.go Lifecycle tests shouldn't use a closed host (#14063) 2023-09-28 21:50:18 +00:00
step_generator_test.go Use `assert.NoError` rather than `assert.Nil` (#14233) 2023-10-13 09:46:07 +00:00
target_test.go Tests and fix for --target-dependents with explicit providers (#14238) 2023-10-18 13:10:22 +00:00
test_plan.go Use `assert.NoError` rather than `assert.Nil` (#14233) 2023-10-13 09:46:07 +00:00
update_plan_test.go Send old inputs to Delete (#14051) 2023-10-13 14:12:26 +00:00