opentofu/internal/plans
Martin Atkins 697f9d1a16 plans: Minimal handling of new-style execution graphs
During the "walking skeleton" phase of our work on the new planning engine
we're intentionally changing other subsystems like the CLI layer as little
as possible and just wiring things together as straightforwardly as
possible so we can find gaps in our new architectural model before we get
too invested in the current experimental shape of it.

With that in mind, this slightly extends the plans.Plan type and its
associated protobuf serialization so that we'll be able to get an opaque
representation of the new runtime's "execution graph" concept from plan
to apply while the CLI layer is still using the traditional plan models.

This is probably not how we'll deal with this in the long run, but it's
intended to be something we can tear back out relatively easily if we
decide either to abandon this "execution graph" idea altogether or once
we reach the point of implementing a new plan model that better suits the
new architecture.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-12-12 07:03:52 -08:00
..
internal/planproto plans: Minimal handling of new-style execution graphs 2025-12-12 07:03:52 -08:00
objchange dependencies: Stop using github.com/apparentlymart/go-dump 2025-10-06 12:47:32 -07:00
planfile plans: Minimal handling of new-style execution graphs 2025-12-12 07:03:52 -08:00
action.go Retain resource instances with a new lifecycle argument - destroy (#3409) 2025-12-04 18:49:57 +04:00
action_string.go Retain resource instances with a new lifecycle argument - destroy (#3409) 2025-12-04 18:49:57 +04:00
changes.go Retaining resource during destruction - action and reason marshalling extension (#3569) 2025-12-12 15:16:54 +04:00
changes_src.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
changes_state.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
changes_sync.go engine/planning: Initial stub of a hypothetical "planning engine" 2025-10-27 10:15:41 -07:00
changes_test.go Feature branch: Ephemeral resources (#2852) 2025-08-04 16:39:12 +03:00
doc.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
dynamic_value.go Another batch of minor typos (#1953) 2024-09-09 07:51:39 -04:00
mode.go go.mod: Use the new "tool" directive 2025-10-10 07:06:56 -03:00
mode_string.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
plan.go plans: Minimal handling of new-style execution graphs 2025-12-12 07:03:52 -08:00
plan_test.go Replace github.com/go-test/deep with go-cmp 2025-10-13 08:17:40 -07:00
quality.go go.mod: Use the new "tool" directive 2025-10-10 07:06:56 -03:00
quality_string.go go.mod: Upgrade various golang.org/x/* dependencies 2025-10-10 08:23:54 -07:00
resourceinstancechangeactionreason_string.go Retaining resource during destruction - action and reason marshalling extension (#3569) 2025-12-12 15:16:54 +04:00