Skip to content

Commit bc948b5

Browse files
authored
disable intermittent commenter runcount (#8917)
1 parent 089b976 commit bc948b5

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

tests/intermittents_commenter/expected_comment.text

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ This is the #1 most frequent failure this week.
77
## Table
88
| |**no_variant**|**socketprocess_networking**|**spi-nw**|
99
|---|:-:|:-:|:-:|
10-
|**macosx1015-x86_64/debug**| | |1/22|
11-
12-
* x/y indicates test failures and total runs; only x means number of runs is unknown.
10+
|**macosx1015-x86_64/debug**| | |1|
1311

1412
## For more details, see:
1513
https://treeherder.mozilla.org/intermittent-failures/bugdetails?bug=1&startday=2022-05-09&endday=2025-05-10&tree=all

tests/intermittents_commenter/expected_comment_with_5_failures.text

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ This is the #1 most frequent failure this week.
77
## Table
88
| |**a11y_checks+swgl**|**no_variant**|**socketprocess_networking**|**spi-nw**|**swgl**|
99
|---|:-:|:-:|:-:|:-:|:-:|
10-
|**linux1804-x86_64/debug**| |1| |2/92| |
11-
|**macosx1015-x86_64/debug**| | | |2/22| |
12-
13-
* x/y indicates test failures and total runs; only x means number of runs is unknown.
10+
|**linux1804-x86_64/debug**| |1| |2| |
11+
|**macosx1015-x86_64/debug**| | | |2| |
1412

1513
## For more details, see:
1614
https://treeherder.mozilla.org/intermittent-failures/bugdetails?bug=1&startday=2022-05-09&endday=2025-05-10&tree=all

treeherder/intermittents_commenter/commenter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,8 @@ def build_bug_map(self, bugs, option_collection_map, days):
464464
job_name = bug["job__signature__job_type_name"]
465465
if len(job_name.rsplit("-", 1)) == 2 and job_name.rsplit("-", 1)[1].isdigit():
466466
job_name = job_name.rsplit("-", 1)[0]
467-
run_count = self.get_task_labels_and_count(manifest, days, job_name)
467+
# NOTE: until we get groupsummary/ api working and make this run more performant
468+
# run_count = self.get_task_labels_and_count(manifest, days, job_name)
468469
bug_testrun_matrix = testrun_matrix[manifest]
469470
bug_run_info = self.get_bug_run_info(bug)
470471
all_variants = bug_run_info.variants

0 commit comments

Comments
 (0)