fix: validate redact max bytes#1876
Conversation
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
|
An error occurred while submitting your PR to the queue: |
|
Heads-up on a duplicate: this targets the same issue (#1824) and lands effectively the same fix as #1825, which I opened on Jun 1 (4 days before this). Both changes are nearly line-for-line equivalent:
Flagging so triage can dedupe — #1825 is the earlier surface for #1824 (which I also filed). Your implementation is correct too; the only minor delta is #1825 also rejects non-integer floats like |
|
Overlap flag: this targets the same issue (#1824) and the same fail-open -> fail-closed fix as the earlier open PR #1825, opened 2026-06-01 (the same day #1824 was filed). Both touch the identical four files -
So this is a near-identical duplicate of #1825 - only one can land, since they edit the same lines. Flagging so a maintainer can pick the canonical one rather than have the two conflict. Good to see the fix converge independently; that is solid confirmation the fail-closed fallback is the right call. (Disclosure: #1825 is mine, so I am flagging the collision rather than asserting which should win - maintainer's call.) One small note for whichever lands: this PR's engine guard |
Summary
Fixes #1824
Testing