envoyproxy / envoyproxy/gateway

Surface Warning in HTTPRoute Status if Regex Program Size is over 1000

Offen
#2,622 8 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @JayantDhakajd Auf GitHub ansehen
area/translator stale
Vorherrschende Sprache
Go
Sterne
3k
Forks
864
Ø Merge
2 T. 2 Std.
Gemergte PRs (30 T.)
140

Beschreibung

thanks for digging deeper into this @davidalger
agree with the approach of setting error_level to UINT32_MAX and warn_level to 1000 for now

either in the same PR or different, lets also highlight this in the control plane as a status
using https://pkg.go.dev/regexp/syntax (`len(prog.Inst)` is a close approximation)

_Originally posted by @arkodg in https://github.com/envoyproxy/gateway/issues/2543#issuecomment-1932785022_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.