agola icon indicating copy to clipboard operation
agola copied to clipboard

Global view of running runs

Open alessandro-sorint opened this issue 2 years ago • 3 comments
trafficstars

What would you like to be added: Currently we can get runs list by projectref or userref. We would like to add an api to get all runs, without specifying projectref or userref.

Why is this needed: It would be very useful because we would like to add a global view of all running run on Agola in the root page. The enable of this view should be placed in the configuration file under a boolean key(for example viewGlobalQueue). This global view will be visible by all agola user.

alessandro-sorint avatar Oct 17 '23 07:10 alessandro-sorint

@alessandro-sorint I don't think a global view of runs as described above by you makes sense, many things to consider are missing.

  • What about user repositories, private org repositories etc?
  • What is the usefulness of listing all the runs also of orgs the user is not member of?

sgotti avatar Oct 17 '23 07:10 sgotti

@sgotti the usefulness is to have a current global view of the agola status, because for example it happens that your run remains in the queue for a long time, or the execution of tasks is slower than usual.

  • So you don't want a global view of all the runs, but a global view of runs related to the logged-in user?

  • What is the meaning of "your run"?

As an alternative to this we could show a "statistics" page with the status of agola, for example how many runs/tasks are running/queued, etc.?

This is a totally different thing orthogonal to the enhancement described by this issue.

alessandro-sorint avatar Oct 17 '23 08:10 alessandro-sorint

  • What about user repositories, private org repositories etc?

The intention would be to also display the runs about user repositories, private org repositories, directruns.

alessandro-sorint avatar Oct 17 '23 09:10 alessandro-sorint