AdguardTeam / AdguardTeam/FiltersCompiler

Implement protection against user error during filter generation

オープン
#177 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature request Priority: P4
主要言語
JavaScript
スター
64
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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`

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。