-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
v4-enhancementEnhancement planned for hier_config v4.0.0Enhancement planned for hier_config v4.0.0
Description
Description
Currently users can compute remediations two ways:
WorkflowRemediation(running, generated).remediation_configrunning.config_to_get_to(generated)
Having two paths to the same result creates confusion and makes it harder to add cross-cutting concerns (caching, validation, logging).
Proposed Change
- Make
HConfig.config_to_get_to()private (_config_to_get_to()) WorkflowRemediationbecomes the only public interface for remediation and rollback- Add validation (e.g., driver compatibility check) to
WorkflowRemediation.__init__()
Breaking Change
Yes — direct calls to config_to_get_to() must use WorkflowRemediation instead.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
v4-enhancementEnhancement planned for hier_config v4.0.0Enhancement planned for hier_config v4.0.0