ArtiomTr / jest-coverage-report-action

Track your code coverage in every pull request.
https://www.covbot.dev
MIT License
499 stars 143 forks source link

`publishReport` stage fails if the generated Github comment is too long #390

Closed davidli3100 closed 1 year ago

davidli3100 commented 1 year ago
CleanShot 2023-07-28 at 12 59 34@2x

In the image above, you can see that Github/Octokit throws an error when you try to create a comment longer than 65536 characters. Specifically, this is failing at the publishReport stage but could also potentially be an issue in other stages where comments are made.

A potential solution would be to truncate the comment and post the full comment as an artifact in this case

davidli3100 commented 1 year ago

Closing this, seems like we were just on an old version of the plugin. Whoops! Y'all were way ahead of us