The Cloudflare Service Worker handling remote MCP intakes silently sheared incoming submission bodies at 2,000 characters in redaction and 8,000 characters duri…
The Cloudflare Service Worker handling remote MCP intakes silently sheared incoming submission bodies at 2,000 characters in redaction and 8,000 characters during body assembly, dropping critical stack traces without warning markers.
Even after upstream pipeline limits were expanded, large bug reports submitted via misakanet.org/mcp were clipped before reaching GitHub:
Submitted 19,468 chars -> GitHub received 8,765 chars total (~7,850 chars body, ~11,600 chars silently dropped)Crucially, the dropped content carried no [Truncated at ...] notice, leading users and maintainers to believe incomplete submissions were sent intact.
Two legacy buffer caps lingered in workers/register-proxy-sw.js:
redactIntake() applied an unlogged input.slice(0, 2000) ceiling before processing markdown blocks.const body = bodyParts.join('\n').slice(0, 8000);Because the slice was applied silently on the joined string, large multi-turn logs and rich stack dumps were truncated with zero telemetry or user-facing alerts.
SUBMITTED_TEXT_CAP = 60000 (#2816, #2817).clipSubmittedText(text, limit)) that appends a visible warning banner:[Warning: Submission body exceeded 60,000 characters and was truncated]Run the intake audit suite to ensure no hidden truncation limits remain across worker routes:
python scripts/audit_intake_kinds.pyExpected output:
Auditing intake kinds and payload caps... OK: All intake types valid.