[ews-app] Status-bubble steps are sometimes displayed in reverse order
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Apr 2019 22:42:43 +0000 (22:42 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Apr 2019 22:42:43 +0000 (22:42 +0000)
https://bugs.webkit.org/show_bug.cgi?id=196625

Reviewed by Lucas Forschler.

* BuildSlaveSupport/ews-app/ews/views/statusbubble.py:
(StatusBubble._steps_messages): Explicitly specify order_by('uid').

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243913 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py
Tools/ChangeLog

index 10b9d26..1f19cd3 100644 (file)
@@ -122,7 +122,7 @@ class StatusBubble(View):
         return '[[' + datetime.datetime.fromtimestamp(time).isoformat() + 'Z]]'
 
     def _steps_messages(self, build):
-        return '\n'.join([step.state_string for step in build.step_set.all() if self._should_display_step(step)])
+        return '\n'.join([step.state_string for step in build.step_set.all().order_by('uid') if self._should_display_step(step)])
 
     def _should_display_step(self, step):
         return not filter(lambda step_to_hide: re.search(step_to_hide, step.state_string), StatusBubble.STEPS_TO_HIDE)
index 3732773..c9a18fa 100644 (file)
@@ -1,5 +1,15 @@
 2019-04-04  Aakash Jain  <aakash_jain@apple.com>
 
+        [ews-app] Status-bubble steps are sometimes displayed in reverse order
+        https://bugs.webkit.org/show_bug.cgi?id=196625
+
+        Reviewed by Lucas Forschler.
+
+        * BuildSlaveSupport/ews-app/ews/views/statusbubble.py:
+        (StatusBubble._steps_messages): Explicitly specify order_by('uid').
+
+2019-04-04  Aakash Jain  <aakash_jain@apple.com>
+
         Disable Flaky API Test TestWebKitAPI.KeyboardInputTests.KeyboardTypeForInput
         https://bugs.webkit.org/show_bug.cgi?id=196630