From b9802f71a49feba6dfd9c0f10b88401349d08c7b Mon Sep 17 00:00:00 2001 From: Marius Hennecke Date: Wed, 23 Jun 2021 01:31:01 +0200 Subject: [PATCH] set azure devops max comment characters to api limit (#1585) --- server/events/vcs/azuredevops_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/events/vcs/azuredevops_client.go b/server/events/vcs/azuredevops_client.go index 4ae4b3d3a..2989544ab 100644 --- a/server/events/vcs/azuredevops_client.go +++ b/server/events/vcs/azuredevops_client.go @@ -104,7 +104,7 @@ func (g *AzureDevopsClient) CreateComment(repo models.Repo, pullNum int, comment // maxCommentLength is the maximum number of chars allowed in a single comment // This length was copied from the Github client - haven't found documentation // or tested limit in Azure DevOps. - const maxCommentLength = 65536 + const maxCommentLength = 150000 comments := common.SplitComment(comment, maxCommentLength, sepEnd, sepStart) owner, project, repoName := SplitAzureDevopsRepoFullName(repo.FullName)