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
F14051585: D13625.diff
Fri, Nov 15, 2:08 AM
F14048308: D13625.id32915.diff
Thu, Nov 14, 7:26 AM
F14038569: D13625.diff
Mon, Nov 11, 12:26 AM
F14023118: D13625.diff
Wed, Nov 6, 10:57 PM
F14012053: D13625.id32915.diff
Fri, Nov 1, 7:07 AM
F14006945: D13625.diff
Mon, Oct 28, 9:33 PM
F13995087: D13625.id32917.diff
Wed, Oct 23, 10:33 AM
F13972987: D13625.id32916.diff
Oct 17 2024, 10:15 PM
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.