[Notes] [Git][BuildStream/buildstream][tpollard/386] _frontend: Don't print failure summary on build success



Title: GitLab

Tom Pollard pushed to branch tpollard/386 at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • buildstream/_frontend/widget.py
    ... ... @@ -526,7 +526,9 @@ class LogLine(Widget):
    526 526
                 values = OrderedDict()
    
    527 527
     
    
    528 528
                 for element, messages in sorted(self._failure_messages.items(), key=lambda x: x[0].name):
    
    529
    -                values[element.name] = ''.join(self._render(v) for v in messages)
    
    529
    +                for queue in stream.queues:
    
    530
    +                    if any(el.name == element.name for el in queue.failed_elements):
    
    531
    +                        values[element.name] = ''.join(self._render(v) for v in messages)
    
    530 532
                 text += self._format_values(values, style_value=False)
    
    531 533
     
    
    532 534
             text += self.content_profile.fmt("Pipeline Summary\n", bold=True)
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]