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)
Sat, Mar 16, 7:27 PM
Unknown Object (File)
Sun, Mar 10, 4:27 AM
Unknown Object (File)
Jan 22 2024, 12:19 PM
Unknown Object (File)
Jan 22 2024, 12:17 PM
Unknown Object (File)
Jan 16 2024, 2:54 PM
Unknown Object (File)
Jan 7 2024, 6:14 PM
Unknown Object (File)
Jan 1 2024, 3:12 AM
Unknown Object (File)
Dec 27 2023, 6:29 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.