mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 19:53:50 +00:00
SAZ import reported every ZIP reader limit as its max_input_bytes budget. A method-93 member whose Zstandard window exceeds the ZIP reader's fixed 128 MiB allowance was therefore refused as invalid_request out_of_range with advice to raise max_input_bytes, which cannot admit it. The SAZ decoder now keeps a ceiling the reader names: CaptureFormatError carries it, the decoder child sends it on the reply wire as a fixed-limit reply (allowance, value, unit, narrowing and the bounded resource), and inspect_web_network_capture returns resource_constraint with details.refusal for that ceiling. Only the metadata read budget the decoder gave the reader still maps to the expanded-input budget. A reader's fixed ceiling (ArtifactFixedLimit) now always states its value and unit, so it can cross the process boundary intact. A refusal at a producer-named fixed ceiling is built by fixedCeilingConstraint, which the Playwright trace import also uses. Fixes #11642