Title: [242965] trunk/Tools
Revision
242965
Author
aakash_j...@apple.com
Date
2019-03-14 14:33:47 -0700 (Thu, 14 Mar 2019)

Log Message

[ews-app] Status bubble display pending for currently running build step
https://bugs.webkit.org/show_bug.cgi?id=195744

Reviewed by Lucas Forschler.

* BuildSlaveSupport/ews-build/events.py:
(Events.stepStarted): If state_string is pending, replace it with step name.

Modified Paths

Diff

Modified: trunk/Tools/BuildSlaveSupport/ews-build/events.py (242964 => 242965)


--- trunk/Tools/BuildSlaveSupport/ews-build/events.py	2019-03-14 21:09:46 UTC (rev 242964)
+++ trunk/Tools/BuildSlaveSupport/ews-build/events.py	2019-03-14 21:33:47 UTC (rev 242965)
@@ -161,6 +161,10 @@
         self.sendData(data)
 
     def stepStarted(self, key, step):
+        state_string = step.get('state_string')
+        if state_string == 'pending':
+            state_string = 'Running {}'.format(step.get('name'))
+
         data = {
             "type": self.type_prefix + "step",
             "status": "started",
@@ -168,7 +172,7 @@
             "step_id": step.get('stepid'),
             "build_id": step.get('buildid'),
             "result": step.get('results'),
-            "state_string": step.get('state_string'),
+            "state_string": state_string,
             "started_at": step.get('started_at'),
             "complete_at": step.get('complete_at'),
         }

Modified: trunk/Tools/ChangeLog (242964 => 242965)


--- trunk/Tools/ChangeLog	2019-03-14 21:09:46 UTC (rev 242964)
+++ trunk/Tools/ChangeLog	2019-03-14 21:33:47 UTC (rev 242965)
@@ -1,3 +1,13 @@
+2019-03-14  Aakash Jain  <aakash_j...@apple.com>
+
+        [ews-app] Status bubble display pending for currently running build step
+        https://bugs.webkit.org/show_bug.cgi?id=195744
+
+        Reviewed by Lucas Forschler.
+
+        * BuildSlaveSupport/ews-build/events.py:
+        (Events.stepStarted): If state_string is pending, replace it with step name.
+
 2019-03-14  Chris Dumez  <cdu...@apple.com>
 
         Add WebsitePolicy for the client to specify the device orientation & motion access policy
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to