[all][infra] CI test result table in the new gerrit review UI
dtantsur at redhat.com
Thu Jan 21 16:25:41 UTC 2021
On Wed, Jan 20, 2021 at 9:56 AM Mark Goddard <mark at stackhpc.com> wrote:
> On Tue, 19 Jan 2021 at 15:18, Jeremy Stanley <fungi at yuggoth.org> wrote:
> > On 2021-01-19 12:56:41 +0000 (+0000), Sean Mooney wrote:
> > > On Tue, 2021-01-19 at 12:37 +0100, Dmitry Tantsur wrote:
> > [...]
> > > > I wonder if we could also run the plugin that shows the live
> > > > progress (it was mentioned somewhere in the thread).
> > >
> > > i belive showing the live progress of the jobs is effectivly a
> > > the live status of the jobs in our browser in the past.
> > [...]
> > > i know that we previously tried enbeding the zuul job status
> > > directly into gerrit a few years ago and that had to be qickly
> > > reverted as it does not take many developers leave review open in
> > > a tab to quickly make that unworkable. i know i for one often
> > > leave review open over night if im pinged to review something
> > > shortly before i finish for the day so that its open on my screen
> > > when i log in the next day.
> > [...]
> > I think it's probably worth trying again. The previous attempts hit
> > a wall because of several challenges:
> > 1. The available Zuul status API returned data on all enqueued refs
> > (a *very* large JSON blob when the system is under heavy use)
> > 2. Calls to the API were handled by a thread of the scheduler
> > daemon, so often blocked or were blocked by other things going on,
> > especially when Zuul was already under significant load
> > "background" tabs so the volume of queries was multiplied not just
> > by the number of users but also by the average number of review tabs
> > they had open
> > Over time we added a ref-scoped status method so callers could
> > request the status of a specific change. The Zuul REST API is now
> > served by a separate zuul-web daemon, which we can move to a
> > different server entirely if load demands that (and can even scale
> > horizontally with more than one instance of it, I think?). Browser
> > tech has also improved, and popular ones these days suspend
> > status API responses more aggressively than we used to do. All of
> > these factors combined could make live status info in a Gerrit
> > plug-in entirely tractable, we'll just need someone with time to try
> > it and see... and be prepared for multiple Gerrit service restarts
> > to enable/disable it, so probably not when utilization is as high as
> > it has been the past couple of weeks.
> A refresh button to update live results on demand could be a good
> compromise between UX and unnecessary polling.
I'd be totally fine with a refresh button, very infrequent (once a minute?)
automatic refreshes and aggressive caching.
> > --
> > Jeremy Stanley
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openstack-discuss