agola-io/agola

Global view of running runs

alessandro-sorint opened this issue · 3 comments

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.

sgotti commented

@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 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.

  • What about user repositories, private org repositories etc?

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