Skip to content

Commit

Permalink
add emphasys in table labels
Browse files Browse the repository at this point in the history
  • Loading branch information
ogiorgis committed Nov 19, 2024
1 parent 3a1005c commit e10f317
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions tests/intermittents_commenter/expected_comment.text
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ This is the #1 most frequent failure this week.
* debug: 1

## Table
| |B2G Emulator Image Build|
| |**B2G Emulator Image Build**|
|---|:-:|
|b2g-emu-jb/debug|1|
|**b2g-emu-jb/debug**|1|

## For more details, see:
https://treeherder.mozilla.org/intermittent-failures/bugdetails?bug=1&startday=2012-05-09&endday=2018-05-10&tree=all
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ This is the #1 most frequent failure this week.
* debug: 1

## Table
| |B2G Emulator Image Build|Mochitest Browser Chrome|
| |**B2G Emulator Image Build**|**Mochitest Browser Chrome**|
|---|:-:|:-:|
|b2g-emu-jb/debug|1| |
|b2g-emu-jb/opt|1| |
|osx-10-6/debug| |1|
|osx-10-7/debug| |1|
|windows7-32/debug| |1|
|**b2g-emu-jb/debug**|1| |
|**b2g-emu-jb/opt**|1| |
|**osx-10-6/debug**| |1|
|**osx-10-7/debug**| |1|
|**windows7-32/debug**| |1|

## For more details, see:
https://treeherder.mozilla.org/intermittent-failures/bugdetails?bug=1&startday=2012-05-09&endday=2018-05-10&tree=all
4 changes: 2 additions & 2 deletions treeherder/intermittents_commenter/comment.template
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ This is the #{{rank}} most frequent failure this week.{% endif %}
## Table
| |
{%- for variant in test_variants -%}
{{variant}}|
**{{variant}}**|
{%- endfor %}
|---|
{%- for test_variant in test_variants -%}
:-:|
{%- endfor %}
{% for platform_and_build, test_by_variant in test_suites.items() -%}
|{{platform_and_build}}|
|**{{platform_and_build}}**|
{%- for variant in test_variants -%}
{{test_by_variant.get(variant, " ")}}|
{%- endfor %}
Expand Down
2 changes: 1 addition & 1 deletion treeherder/intermittents_commenter/commenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def generate_bug_changes(self, startday, endday, alt_startday, alt_endday):
priority = 0
rank = top_bugs.index(bug_id) + 1 if self.weekly_mode and bug_id in top_bugs else None

test_variants |= bug_stats[bug_id]['test_variants']
test_variants |= bug_stats[bug_id]["test_variants"]
if bug_info and bug_id in bug_info:
if self.weekly_mode:
priority = self.assign_priority(counts)
Expand Down

0 comments on commit e10f317

Please sign in to comment.