AdguardTeam / AdguardTeam/FiltersCompiler
Implement protection against user error during filter generation
- Dominant language
- JavaScript
- Stars
- 64
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
### Problem
Currently, the filters compiler allows for accidental and non-obvious mistakes, such as
- deleting a large number of rules (for example, mistakenly taken as incorrect)
- adding rules with incorrect regular expressions (catastrophic backtracking).
### Proposed solution
To prevent such errors, we need a protection mechanism which will warn us if a significant change in volume occurred during filter building. Also, add a function to test the speed of regular expressions used in the rules (unescaped).
Send notification to Slack to filters chat.
Related to `ADG-6782`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.