Skip to content

automation_rules_disabled.json uncontrolled growth #4590

Open
@jimtng

Description

@jimtng

I've just discovered my automation_rules_disabled.json containing over 93000 lines.

The entries in it are only removed when the rule got re-enabled.
When the rule got disabled, then subsequently removed, the corresponding entry in automation_rules_disabled.json remains.

Removing the entry when the rule is removed doesn't work, because, for example, when a rule is saved in MainUI, it would remove the rule and re-add it, causing a previously disabled rule to become enabled.

At the moment, the only way to solve this is by adding the removal of non-existent rules in the MainUI's health check, perhaps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn unexpected problem or unintended behavior of the Core

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions