Expand description
Structured diff between desired and actual release state.
sr plan computes a ReleaseDiff and renders it for the user.
Every resource the reconciler would touch appears as one ResourceDiff
entry showing its current observable state, its desired state, and the
Action that would converge the two.
This is Terraform-style: the diff describes what would happen, not what commit-message was parsed. The changelog is still computed (it’s the body of the Release resource) but the user-facing plan output is resource-by-resource.
Structs§
- Diff
Summary - Release
Diff - Aggregate plan diff.
- Resource
Diff - One row in the plan output.
Enums§
- Action
- What the reconciler would do to converge actual → desired.
- Resource
Kind - Kind of resource under reconciliation. Determines the row’s prefix label in the human-readable diff.
- Resource
State - What’s there vs. what we want there.
Functions§
- build_
diff - Build the diff by querying actual state for every resource the plan would touch.
- render_
human - Human-friendly rendering of the diff (Terraform-style).