x/build/cmd/releasebot: fails to upload the build logs when they exceed 65536 characters #45998
Labels
Builders
x/build issues (builders, bots, dashboards)
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Projects
Milestone
During the Go 1.16.4 (#45995) release, releasebot failed to upload the logs during the prepare step because the logs exceeded the limit by the GitHub api.
error posting update comment: POST https://api.github.com/repos/golang/go/issues/45995/comments: 422 Validation Failed [{Resource:IssueComment Field:data Code:unprocessable Message:Body is too long (maximum is 65536 characters)}]
When the logs exceed 65536 characters, we should either truncate of split the logs into a size that will fit into a GitHub issue comment.
@golang/release
The text was updated successfully, but these errors were encountered: