⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243823 in webkit


Ignore:
Timestamp:
Apr 3, 2019, 1:27:12 PM (7 years ago)
Author:
aakash_jain@apple.com
Message:

[ews-app] Status bubble should not display certain infrastructure status messages
https://bugs.webkit.org/show_bug.cgi?id=196550

Reviewed by Lucas Forschler.

Do not display the steps which are un-needed for end-user. This information is still avaiable
if the user click on the bubble and look at the Buildbot build.

  • BuildSlaveSupport/ews-app/ews/views/statusbubble.py:

(StatusBubble._steps_messages):
(StatusBubble._should_display_step): Method to decide whether to display the step or not.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py

    r243761 r243823  
    4141                    'mac-debug', 'mac-debug-wk1', 'mac-wk1', 'mac-wk2', 'style', 'webkitperl', 'webkitpy', 'win', 'wincairo', 'wpe']
    4242    ENABLED_QUEUES = ['api-ios', 'api-mac', 'webkitperl']
     43
     44    STEPS_TO_HIDE = ['Killed old processes', 'Configured build', '^OS:.*Xcode:']
    4345
    4446    def _build_bubble(self, patch, queue):
     
    121123
    122124    def _steps_messages(self, build):
    123         return '\n'.join([step.state_string for step in build.step_set.all()])
     125        return '\n'.join([step.state_string for step in build.step_set.all() if self._should_display_step(step)])
     126
     127    def _should_display_step(self, step):
     128        return not filter(lambda step_to_hide: re.search(step_to_hide, step.state_string), StatusBubble.STEPS_TO_HIDE)
    124129
    125130    def _most_recent_step_message(self, build):
  • trunk/Tools/ChangeLog

    r243822 r243823  
     12019-04-03  Aakash Jain  <aakash_jain@apple.com>
     2
     3        [ews-app] Status bubble should not display certain infrastructure status messages
     4        https://bugs.webkit.org/show_bug.cgi?id=196550
     5
     6        Reviewed by Lucas Forschler.
     7
     8        Do not display the steps which are un-needed for end-user. This information is still avaiable
     9        if the user click on the bubble and look at the Buildbot build.
     10        * BuildSlaveSupport/ews-app/ews/views/statusbubble.py:
     11        (StatusBubble._steps_messages):
     12        (StatusBubble._should_display_step): Method to decide whether to display the step or not.
     13
    1142019-04-03  Aakash Jain  <aakash_jain@apple.com>
    215
Note: See TracChangeset for help on using the changeset viewer.