github / webpack-bundlesize-compare-action

A github action that outputs bundlesize comparison tables for pull requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

should truncate output if it's too long

sunnylqm opened this issue · comments

this may be partially fixed in v1.6.0

We still aren't necessarily truncated, but we've removed much of the output, and hope that helps for now!

@mattcosta7, I'm in the middle of a big migration, and unfortunately, I'm getting this even on v1.6.0.

Run github/webpack-bundlesize-compare-action@v1.6.0
Error: Validation Failed: {"resource":"IssueComment","code":"custom","field":"body","message":"body is too long (maximum is 65536 characters)"}

@mattcosta7, I'm in the middle of a big migration, and unfortunately, I'm getting this even on v1.6.0.

Run github/webpack-bundlesize-compare-action@v1.6.0
Error: Validation Failed: {"resource":"IssueComment","code":"custom","field":"body","message":"body is too long (maximum is 65536 characters)"}

Happy to accept prs limiting the output size of the changeset section!

@mattcosta7, I'm in the middle of a big migration, and unfortunately, I'm getting this even on v1.6.0.

Run github/webpack-bundlesize-compare-action@v1.6.0
Error: Validation Failed: {"resource":"IssueComment","code":"custom","field":"body","message":"body is too long (maximum is 65536 characters)"}

Give the version from #301 a shot. This truncates the output of the changeset section to at most 100 files, and should avoid overflowing the comment max length. We'll work to get that released soon, but you should be able to use that version if you need it!

@mattcosta7 I can confirm the PR fixes the issue on my end! Thanks 😄