Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StatesSerializer: Store ParamsSpecs, Params, and States in states_*.yaml #142

Open
azriel91 opened this issue Jun 27, 2023 · 0 comments
Open

Comments

@azriel91
Copy link
Owner

azriel91 commented Jun 27, 2023

Enables apply() to be called using state_clean() based on previous parameters.

Not super sure of the value of this just yet:

  1. We will probably want to store the actual resolved value for each params spec in the execution report, so users/developers can view the data from there for troubleshooting.

  2. For cleaning up state, we currently run state_current_try_exec.

    CleanCmd
        StatesDiscoverCmdBlock
            DiscoverForCurrent
            DiscoverFor::discover
            Item::state_current_try_exec

That's presumably more correct than saving the value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant