Skip to content

Automatically remove/flag up old resolved incidents #17

@danny-lloyd

Description

@danny-lloyd

Incidents should be removed after being marked as resolved for 5-7 days (enough time for people to take note that they're resolved).

Add an AfterValidator function to the Pydantic model that checks an incident's most recent update's date is not 7 days old or more and the incident is marked as resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions