| Summary: | [ews-app] while waiting in queue status-bubble for testers queues should display build information from builder queue | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Aakash Jain <aakash_jain> | ||||
| Component: | Tools / Tests | Assignee: | Aakash Jain <aakash_jain> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | aakash_jain, ap, commit-queue, jbedard, kocsen_chung, lforschler, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Other | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=200333 | ||||||
| Attachments: |
|
||||||
|
Description
Aakash Jain
2019-04-04 12:16:08 PDT
Created attachment 366738 [details]
Patch
Comment on attachment 366738 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=366738&action=review > Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py:155 > + return (None, None) would it make sense to re-arrange this if statement above the other? then you don't need to check for 'builds' twice. So it would read like: if not builds: return (None, None) if parent_queue: builds = self.get_builds_for_queue(patch, parent_queue) is_parent_build = True Comment on attachment 366738 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=366738&action=review >> Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py:155 >> + return (None, None) > > would it make sense to re-arrange this if statement above the other? then you don't need to check for 'builds' twice. So it would read like: > > if not builds: > return (None, None) > if parent_queue: > builds = self.get_builds_for_queue(patch, parent_queue) > is_parent_build = True That would change the logic and parent_queue would never be checked. The logic I want to implement is: - get_builds_for_queue 'api-mac' - if no builds found and parent_queue is passed, then get_builds_for_queue parent (e.g.: mac) - if parent queue also doesn't have any build, then return None - if builds found in any of above step, use that Comment on attachment 366738 [details] Patch Clearing flags on attachment: 366738 Committed r243914: <https://trac.webkit.org/changeset/243914> All reviewed patches have been landed. Closing bug. |