pulumi/pkg/engine
Levi Blackstone 00c6410f8d
Warn if `refresh` or `destroy` use older plugins (#12196)
`refresh` and `destroy` operations do not run the user program, and
instead rely on the plugin versions specified in the state. This can
lead to confusing behavior where a user has updated a provider
dependency in their program, but these operations ignore that setting.
This change prints a warning if either of these operations will use an
older plugin version than the one specified in the program dependencies.

> [!NOTE]  
> This may be redundant once a fix for #12177 lands.

Co-authored-by: Will Jones <will@sacharissa.co.uk>
2024-12-11 13:37:43 +00:00
..
lifecycletest Test import uses the expected provider version (#17993) 2024-12-10 17:05:43 +00:00
combinedManager.go Test SnapshotManager and Journal in engine tests (#15871) 2024-04-11 22:54:08 +00:00
debugging.go implement the engine bits for debugging support (#17072) 2024-08-30 10:31:28 +00:00
deployment.go Autonaming configuration in experimental mode (#17916) 2024-12-10 14:03:27 +00:00
deployment_test.go Clean up deployment options (#16357) 2024-06-11 13:37:57 +00:00
destroy.go Warn if `refresh` or `destroy` use older plugins (#12196) 2024-12-11 13:37:43 +00:00
detailedDiff.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
detailedDiff_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
engine.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
errors.go Centralise human-friendly error handling in the CLI (#17046) 2024-08-23 08:48:42 +00:00
events.go Use events to report downloads as system messages (#17019) 2024-09-03 12:12:04 +00:00
events_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
eventsink.go turn on the golangci-lint exhaustive linter (#15028) 2024-01-17 16:50:41 +00:00
import.go Clean up deployment options (#16357) 2024-06-11 13:37:57 +00:00
journal.go Introduce snapshot metadata (#17430) 2024-09-30 16:45:40 +00:00
plugin_host.go Bump gRPC dependencies and migrate `grpc.Dial` (#17701) 2024-11-06 18:36:10 +00:00
plugins.go Warn if `refresh` or `destroy` use older plugins (#12196) 2024-12-11 13:37:43 +00:00
plugins_test.go Warn if `refresh` or `destroy` use older plugins (#12196) 2024-12-11 13:37:43 +00:00
progress.go Use events to report downloads as system messages (#17019) 2024-09-03 12:12:04 +00:00
progress_test.go Use events to report downloads as system messages (#17019) 2024-09-03 12:12:04 +00:00
project.go Enable some more linting rules (#17456) 2024-10-03 17:37:13 +00:00
query.go Use events to report downloads as system messages (#17019) 2024-09-03 12:12:04 +00:00
refresh.go Warn if `refresh` or `destroy` use older plugins (#12196) 2024-12-11 13:37:43 +00:00
snapshot.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
update.go Autonaming configuration in experimental mode (#17916) 2024-12-10 14:03:27 +00:00
update_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00