pulumi/pkg/resource/deploy
bors[bot] f84546cebc
Merge #12198 #12210 #12241 #12252
12198: pkg/backend: Prefer contract.Assertf over Assert r=abhinav a=abhinav

Incremental step towards #12132

Migrates uses of contract.{Assert, AssertNoError, Require} in pkg/engine
to `*f` variants so that we're required to provide more error context.

Refs #12132


12210: pkg/resource: Prefer Assertf in some subpackages r=abhinav a=abhinav

Incremental step towards #12132

Migrates some uses of contract.{Assert, AssertNoError, Require} in
pkg/resource to `*f` variants so that we're required to provide more
error context.

Refs #12132


12241: pkg/resource/deploy: Prefer Assertf r=abhinav a=abhinav

pkg/resource/deploy has a bunch of Assert usages
without messages.

This migrates all of them to `*f` variants,
preferring `Requiref` for paramters.

Refs #12132


12252: ci/rebase: Run for members and owners r=abhinav a=abhinav

The `/rebase` command only runs for collaborators right now, but not for repository members or owners.
This updates the job to support the command from owners and members.
(See https://docs.github.com/en/graphql/reference/enums#commentauthorassociation.)

The `fromJSON` business is necessary to be able to represent the array in the GitHub expression.
(See https://docs.github.com/en/actions/learn-github-actions/expressio˚ns#example-matching-an-array-of-strings.)

Refs #12251


Co-authored-by: Abhinav Gupta <abhinav@pulumi.com>
2023-02-25 00:23:44 +00:00
..
deploytest pkg/resource: Prefer Assertf in some subpackages 2023-02-21 15:13:48 -08:00
providers pkg/resource: Prefer Assertf in some subpackages 2023-02-21 15:13:48 -08:00
builtins.go pkg/resource/deploy: Prefer Assertf 2023-02-21 15:14:42 -08:00
deployment.go pkg/resource/deploy: Prefer Assertf 2023-02-21 15:14:42 -08:00
deployment_executor.go pkg/resource/deploy: Prefer Assertf 2023-02-21 15:14:42 -08:00
deployment_executor_test.go Unparent deleted resources when rebuilding state (#10073) 2022-07-08 14:23:58 -07:00
deployment_test.go Remove source_fixed 2022-11-08 15:55:45 +00:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
import.go pkg/resource/deploy: Prefer Assertf 2023-02-21 15:14:42 -08:00
manifest.go Split Manifest type to it's own file (#8712) 2022-01-10 12:25:24 +00:00
plan.go pkg/resource/deploy: Prefer Assertf 2023-02-21 15:14:42 -08:00
snapshot.go pkg/resource/deploy: Prefer Assertf 2023-02-21 15:14:42 -08:00
snapshot_test.go test # This is a combination of 3 commits. 2022-10-25 16:54:58 -07:00
source.go Monitor.Invoke and Provider.Invoke take different arguments (#9323) 2022-04-14 10:59:46 +01:00
source_error.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
source_eval.go pkg/resource/deploy: Prefer Assertf 2023-02-21 15:14:42 -08:00
source_eval_test.go Add DeletedWith resource option 2022-10-31 12:03:18 +02:00
source_null.go Clone snapshot before testing with it (#8551) 2021-12-09 09:09:48 +00:00
source_query.go Preallocate slices with a known capacity. 2023-01-11 12:52:51 -08:00
source_query_test.go Monitor.Invoke and Provider.Invoke take different arguments (#9323) 2022-04-14 10:59:46 +01:00
state_builder.go Non-mutating snapshot normalization (#10128) 2022-07-18 14:04:19 -04:00
state_builder_test.go Non-mutating snapshot normalization (#10128) 2022-07-18 14:04:19 -04:00
step.go pkg/resource/deploy: Prefer Assertf 2023-02-21 15:14:42 -08:00
step_executor.go golangci-lint: Enable staticcheck 2023-01-14 16:59:46 -08:00
step_generator.go pkg/resource/deploy: Prefer Assertf 2023-02-21 15:14:42 -08:00
step_generator_test.go getDiffInfo: Fix slice length check 2023-01-11 21:53:05 -08:00
target.go Add getOrganization to nodejs and python (#10504) 2022-08-31 10:33:29 +01:00