envoyproxy / envoyproxy/gateway

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

Aperta
#2,622 8 commenti 0 reazioni 1 assegnatario Rivendicata da @JayantDhakajd Vedi su GitHub
area/translator stale
Lingua principale
Go
Stelle
3k
Fork
864
Merge medio
2g 2h
PR unite (30g)
140

Descrizione

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_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.