mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-19 21:32:20 +03:00
The property test asserted an absolute 250ms ceiling on sanitizeErrorMessage() for adversarial inputs. That ceiling had no margin over the pipeline's real fixed cost (3x redact + 2x normalize passes added by #12506), so it failed on cost under any machine load, not on backtracking. Replace it with a check that the sanitizer's cost does not scale with input length beyond a generous noise allowance, which is what a bounded-backtracking guarantee actually claims; keep a coarse absolute hang ceiling as a backstop.