AdguardTeam / AdguardTeam/FiltersCompiler

Implement protection against user error during filter generation

Open
#177 0 comments 0 reactions 0 assignees View on GitHub
feature request Priority: P4
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.