You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: full P5 Config struct split into InstallOptions + InstallState
- config.go: add InstallOptions (read-only inputs), InstallState (mutable
runtime), ToInstallOptions(), ToInstallState(), ApplyState() methods
- installer.go + all step_*.go: internal functions now take
(opts *InstallOptions, st *InstallState) instead of *Config;
public Run() and RunFromSnapshot() remain unchanged as the boundary
- Tests updated to use opts/st instead of cfg where appropriate
InstallOptions and InstallState are now distinct types — the compiler
enforces that step functions cannot accidentally read input as state
or write state back into user-supplied options.
0 commit comments