Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report too large for single comment #15

Open
a-h-i opened this issue Sep 12, 2024 · 4 comments
Open

Report too large for single comment #15

a-h-i opened this issue Sep 12, 2024 · 4 comments

Comments

@a-h-i
Copy link

a-h-i commented Sep 12, 2024

 Warning: HttpError: Validation Failed: {"resource":"IssueComment","code":"unprocessable","field":"data","message":"Body is too long (maximum is 65536 characters)"}
Notice: 
Failed to create comment on pull request. Perhaps this is ran in a fork?

<!-- moon-run-report: unknown -->

Perhaps it should be aware of the limitations and attempt to split it into multiple comments?
Or even just comment a small summary without the details

@milesj
Copy link
Contributor

milesj commented Sep 12, 2024

@a-h-i TIL there's a max character limit for comments.

Do you happen to know how many tasks were ran in that CI run?

@a-h-i
Copy link
Author

a-h-i commented Sep 16, 2024

@milesj Hey miles! I think it's a problem wth the touched files, as we are adding moon to an existing project

@milesj
Copy link
Contributor

milesj commented Sep 16, 2024

Ok that makes sense, looking into.

@dudicoco
Copy link

dudicoco commented Nov 14, 2024

Hi @milesj,

We've came across this a lot of times in different scripts/actions which comment on github pull-requests.

The solution is to split the comment into multiple comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants