webcompat / webcompat.com

Source code for webcompat.com
https://webcompat.com
359 stars 191 forks source link

HTTP POST to GitHub with a too big body fails #2717

Open karlcow opened 5 years ago

karlcow commented 5 years ago

We need to check and handle the fact that a body which is too large will fail. The body limit for posting an issue on GitHub is 65536 characters. Anything bigger will fail.

miketaylr commented 5 years ago

Anything bigger will fail.

I wonder if we can handle this on the backend... detect if it's too big... and post a follow-up comment if so (very hack-y). Or, post relevant details to some other text/paste service we own and just link to that instead of putting inside the body.

karlcow commented 5 years ago

yup see the agenda of Orlando Moz All Hands for crazy, hacky, silly ideas. ;) https://wiki.mozilla.org/Compatibility/Meetings/2018-12-work-week#Improve_the_console.log_reporting_by_the_Reporter_extension