Skip to content

Commit 05fae2b

Browse files
authored
chore(pr-comments): add logger to investigate duplicate group_ids (#63682)
1 parent 6949fe7 commit 05fae2b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/sentry/tasks/integrations/github/pr_comment.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,15 @@ def github_comment_workflow(pullrequest_id: int, project_id: int):
173173

174174
top_5_issues = get_top_5_issues_by_count(issue_list, project)
175175
top_5_issue_ids = [issue["group_id"] for issue in top_5_issues]
176+
logger.info(
177+
"github.pr_comment.top_5_issues",
178+
extra={
179+
"top_5_issue_ids": top_5_issue_ids,
180+
"issue_list": issue_list,
181+
"pr_id": pullrequest_id,
182+
},
183+
)
184+
176185
issue_comment_contents = get_comment_contents(top_5_issue_ids)
177186

178187
try:

0 commit comments

Comments
 (0)