fix: change comment thread status to closed when publishing comments

Signed-off-by: abishlal <abishlalns03@gmail.com>
This commit is contained in:
abishlal
2025-06-25 20:59:34 +05:30
parent 299a2c89d1
commit 3251f19a19

View File

@ -351,7 +351,7 @@ class AzureDevopsProvider(GitProvider):
get_logger().debug(f"Skipping publish_comment for temporary comment: {pr_comment}")
return None
comment = Comment(content=pr_comment)
thread = CommentThread(comments=[comment], thread_context=thread_context, status="active")
thread = CommentThread(comments=[comment], thread_context=thread_context, status="closed")
thread_response = self.azure_devops_client.create_thread(
comment_thread=thread,
project=self.workspace_slug,