Skip to content

Commit c69a109

Browse files
authored
[FIX] Fix bot comments on PRs (#833)
1 parent f46134d commit c69a109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mod_ci/controllers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1564,7 +1564,7 @@ def get_info_for_pr_comment(test_id: int) -> PrCommentInfo:
15641564
and_(
15651565
RegressionTestOutput.regression_id == TestResult.regression_test_id,
15661566
RegressionTestOutput.ignore.is_(True),
1567-
))).subquery()
1567+
))).distinct().subquery()
15681568
passed = g.db.query(label('category_id', Category.id), label(
15691569
'success', count(regressionTestLinkTable.c.regression_id))).filter(
15701570
regressionTestLinkTable.c.regression_id.in_(regression_testid_passed),

0 commit comments

Comments
 (0)