Skip to content

🙏 State stuff #1908

Description

@svrooij

Describe the feature

Have some sort of understanding of state in Maester would be great, a lot of people are asking about: "what has changed"? and "Can I see new failing tests?" and "Can I ignore tests"?

I want maester to have understanding of state, and introduce new states fixed, failing, new-failing

For the first version I propose to accept the previous json result as "previous state", and I also want to make a second state store using GitHub Issues. Also this should guide others in setting up their own state stuff, like having an interface.

Impact and importance

Having state is a very big ask, so I guess it is important for a lot of people. Having the report tell you which issues have been fixed should give a great feeling.

Alternatives you've considered

No response

Additional context

I'll be building this with the help of AI, and validating whats built myself

I want Maester to have a state component with the following requirements:

Save current state Compare to previous state The reports should be expended with test that suddenly fail, test that stopped failing (are fixed) and new tests specify the previous json as one way to compute the state Using github issues in a secific repository as a second way to compute state, one issue per failing test, not sure if I want issues for test that pass, maybe that should be an option Plan first and ask questions/confirmation before coding

When using github issues, set the title to the name of the test, tag the issue with the tags from that test (orca, cis, ....). With github issues set the description to the test output, and if the issue is closed by the user. You can mark this test as ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestreportRelated to the Maester report functionality

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions