AdguardTeam / AdguardTeam/FiltersCompiler

Implement protection against user error during filter generation

未关闭
#177 0 条评论 0 个 reaction 已指派 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 摘要。