AdguardTeam / AdguardTeam/FiltersCompiler

Implement protection against user error during filter generation

Abierto
#177 0 comentarios 0 reacciones 0 asignados Ver en GitHub
feature request Priority: P4
Lenguaje dominante
JavaScript
Estrellas
64
Forks
11
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.