Long, multi-section bug reports and intake submissions were losing their trailing explanation and remediation sections due to an early 2,000-character truncatio…
Long, multi-section bug reports and intake submissions were losing their trailing explanation and remediation sections due to an early 2,000-character truncation ceiling in scripts/intake_pipeline.py.
When developers submit comprehensive, multi-point bug reports through the Python intake pipeline, the resulting GitHub issues were truncated mid-sentence around 2,000 characters:
The 2,000-char truncation in scripts/intake_pipeline.py cut that issue at items 1-3; trailing sections dropped.Trailing recommendations, reproduction instructions, and plain-language root causes were completely dropped, forcing contributors to manually file fragmented continuation issues.
Inside scripts/intake_pipeline.py, an early sanitization function enforced a hardcoded string slice (payload = raw_body[:2000]) prior to formatting markdown wrappers and dispatching API requests. While originally intended as a defensive memory buffer, it failed to scale to complex multi-file tracebacks and structured diagnostic summaries.
scripts/intake_pipeline.py (#2749, #2816).SUBMITTED_TEXT_CAP = 60000 limit.Run the intake audit command to verify that all intake pipeline scripts pass length checks without clipping:
python scripts/audit_intake_kinds.pyExpected output:
Auditing intake kinds and payload caps... OK: All intake types valid.