envoyproxy / envoyproxy/gateway

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

Open
#2,622 8 comments 0 reactions 1 assignee Claimed by @JayantDhakajd View on GitHub
area/translator stale
Dominant language
Go
Stars
3k
Forks
864
Avg merge
2d 2h
Merged PRs (30d)
140

Description

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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.