pulumi/pkg/engine
Will Jones 6e04a284a5
Generate more accurate reproductions when fuzzing (#17737)
Fuzzed lifecycle tests work slightly differently to their handwritten
counterparts. A handwritten test will typically "start from nothing". An
initial snapshot is built from an empty state and starting program,
before subsequent operations are executed on this state to test
behaviour. In constrast, fuzzed tests create arbitrary starting
snapshots "out of thin air", before running an operation to see if a bug
can be triggered. Ideally, any starting state conjured by a fuzz test is
actually reproducible from an empty state and some combination of
operations, but it may be that this is not the case, or that the number
of operations required to reach the state is very high. In such cases,
it is handy to have the exact code the fuzz test used to hand when
reproducing and isolating behaviour. To this end, this commit extends
the `reprogen` functionality of the suite to generate this code as well
as the existing "handwritten" approximation. This should also aid in
minimising failing test cases quickly when bugs are found.
2024-11-15 09:16:46 +00:00
..
lifecycletest Generate more accurate reproductions when fuzzing (#17737) 2024-11-15 09:16:46 +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 Use events to report downloads as system messages (#17019) 2024-09-03 12:12:04 +00:00
deployment_test.go Clean up deployment options (#16357) 2024-06-11 13:37:57 +00:00
destroy.go plugin versions code reuse (#17311) 2024-09-24 13:36:45 +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 Implement plugin download cancellation (#17621) 2024-11-12 18:04:25 +00:00
plugins_test.go plugin versions code reuse (#17311) 2024-09-24 13:36:45 +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 plugin versions code reuse (#17311) 2024-09-24 13:36:45 +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 Implement plugin download cancellation (#17621) 2024-11-12 18:04:25 +00:00
update_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00