Skip to content

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

@arkodg

Description

@arkodg
          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 #2543 (comment)

Metadata

Metadata

Assignees

Labels

area/translatorIssues related to Gateway's translation service, e.g. translating Gateway APIs into the IR.stale

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions