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

Truncate excessively large PR bodies #521

Open
legrego opened this issue Dec 12, 2024 · 0 comments
Open

Truncate excessively large PR bodies #521

legrego opened this issue Dec 12, 2024 · 0 comments

Comments

@legrego
Copy link

legrego commented Dec 12, 2024

PRs with a long description are at risk of having a backport PR description that is too long.

Example: elastic/kibana#203684
Backporting this PR leads to the following error:

✖ Creating pull request
Could not create pull request: Validation Failed: {"resource":"Issue","code":"custom","field":"body","message":"body is too long (maximum is 65536 characters)"}

It would be great if backport could truncate the original description if it exceeds this maximum length of 65536 characters. Bonus points if it leaves a message at the bottom explaining that the message has been truncated.

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

No branches or pull requests

1 participant