Page MenuHomePhabricator

[harbormaster/dashboard] Add panel for monitoring repository build status
AbandonedPublic

Authored by hach-que on Jul 12 2015, 10:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 9:18 AM
Unknown Object (File)
Tue, Dec 17, 6:29 AM
Unknown Object (File)
Tue, Dec 17, 3:28 AM
Unknown Object (File)
Sun, Dec 15, 2:28 PM
Unknown Object (File)
Fri, Dec 13, 8:20 PM
Unknown Object (File)
Thu, Dec 12, 10:12 AM
Unknown Object (File)
Mon, Dec 9, 2:10 PM
Unknown Object (File)
Wed, Dec 4, 10:32 AM
Subscribers

Details

Summary

Resolves T8828. Ref T1049. This is a dashboard panel that shows the status of all branches in all repositories, with failed and building commits prioritized first. There is a limit option to limit how many branch statuses are shown.

Test Plan

Added the dashboard panel on my local Phabricator instance, saw pretty statuses.

pasted_file (261×569 px, 33 KB)

Event Timeline

hach-que retitled this revision from to Add panel for monitoring repository build status.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.
hach-que edited edge metadata.

Add links to buildables / repo history

Only show status for branches which are tracked

hach-que retitled this revision from Add panel for monitoring repository build status to [harbormaster/dashboard] Add panel for monitoring repository build status.Aug 24 2015, 3:11 PM

@epriestley I don't suppose there's a chance of getting this upstreamed now that Harbormaster / Drydock is inching closer to being unprototyped?

I think the goal of this panel is a reasonable one, but maybe we can find a better implementation.

For example, suppose we put a build status icon on branches/tags instead, gave them real PHIDs, and put a SearchEngine in front of them? Then you could just build a completely normal Query panel and show exactly the branches you wanted.

I think that would be a slightly different result set than what this panel shows, but mostly accomplishing the same goal?

So I'd do something like:

  • Go to Diffusion.
  • Click a new "Search Branches" item in the left nav that queries branches across all repositories.
  • Narrow that down by typing Exact branches: rP/master, rARC/master, rPHU/master or something, or you could use branch name: master to get all master branches across all repos, or just use the "All Branches Across Everything" default query to approximate what this panel does.
  • Save the query.
  • Make a panel from it.

And branches could also show build status in Diffusion itself.

We could also reasonably let repositories have the build status of their default branch, I think, in terms of UI presentation? At least for now...

As per @epriestley's feedback, this isn't a good way forward.

With the other search engine and edit engine changes that have been happening, I'm assuming that building the "Search Branches" interface that is described above would be quite complex, so I'm going to leave T10053 as an upstream task.

In the meantime, I plan on building a stand-alone website that uses the Conduit APIs to query the build status across Diffusion repositories so I can still have my build dashboard.