Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an admin view for all currently active runs in a server instance #837

Open
sschuberth opened this issue Aug 16, 2024 · 7 comments
Open
Assignees
Labels
enhancement New feature or request ui Issues related to the UI.
Milestone

Comments

@sschuberth
Copy link
Contributor

As an admin for a whole instance, I'd like to quickly get an overview over the runs that are currently active in any organization on that instance. It's basically a runs overview page that is not limited to a single repository.

Similarly, probably such overview pages would also be useful on product and organization levels, for admins for those levels respectively.

The main use-case is not to estimate the load on the server, but to get an overview when multiple runs triggered in different organization / products are finished.

@sschuberth sschuberth added enhancement New feature or request ui Issues related to the UI. labels Aug 16, 2024
@sschuberth
Copy link
Contributor Author

As a note, such overview pages should probably be filterable by the user who triggered the run.

@lamppu
Copy link
Contributor

lamppu commented Oct 11, 2024

Do you think it would be more beneficial to just see the active runs, so something like this:

Screenshot from 2024-10-11 09-33-47

Or maybe to see all runs, but have the possibility to filter by status:

Screenshot from 2024-10-11 09-01-42

Screenshot from 2024-10-11 09-20-28

@sschuberth
Copy link
Contributor Author

Do you think it would be more beneficial to just see the active runs

Originally I was just thinking about active runs, but now that you suggest it, I guess being able to globally filter all runs also could be nice, e.g. to identify jobs that took exceptionally long across all orgs.

In any case, I believe only showing active runs would be a good default filter.

What do @mmurto and @mnonnenmacher think?

@mnonnenmacher
Copy link
Contributor

I think the endpoint was already implemented so that you can filter by statuts, so I would definitely also support that in the UI. Regarding the default filter I have no strong opinion, but a tendency towards setting none, otherwise the view would often be empty for not so active instances.

@mmurto
Copy link
Contributor

mmurto commented Oct 11, 2024

I feel no default filter makes sense, I think it gives a better overview at a glance on what has happened as well as the currently running jobs.

@sschuberth
Copy link
Contributor Author

but a tendency towards setting none, otherwise the view would often be empty for not so active instances.

I don't think that having an empty view in such cases would be a problem, but I also have no strong opinion here, just a personal preference for my use-case to watch active runs / server load.

@mnonnenmacher
Copy link
Contributor

my use-case to watch active runs / server load.

For that a Grafana board works better, like:
image

lamppu added a commit to doubleopen-project/ort-server that referenced this issue Oct 16, 2024
Add a runs overview page to allow superusers to get
a quick overview of all runs on the server instance.

Resolves eclipse-apoapsis#837.

Signed-off-by: Johanna Lamppu <[email protected]>
lamppu added a commit to doubleopen-project/ort-server that referenced this issue Oct 16, 2024
Add a runs overview page to allow superusers to get
a quick overview of all runs on the server instance.

Resolves eclipse-apoapsis#837.

Signed-off-by: Johanna Lamppu <[email protected]>
lamppu added a commit to doubleopen-project/ort-server that referenced this issue Oct 17, 2024
Add a runs overview page to allow superusers to get
a quick overview of all runs on the server instance.

Resolves eclipse-apoapsis#837.

Signed-off-by: Johanna Lamppu <[email protected]>
lamppu added a commit to doubleopen-project/ort-server that referenced this issue Oct 21, 2024
Add a runs overview page to allow superusers to get
a quick overview of all runs on the server instance.

Resolves eclipse-apoapsis#837.

Signed-off-by: Johanna Lamppu <[email protected]>
lamppu added a commit to doubleopen-project/ort-server that referenced this issue Oct 21, 2024
Add a runs overview page to allow superusers to get
a quick overview of all runs on the server instance.

Resolves eclipse-apoapsis#837.

Signed-off-by: Johanna Lamppu <[email protected]>
lamppu added a commit to doubleopen-project/ort-server that referenced this issue Oct 21, 2024
Add a runs overview page to allow superusers to get
a quick overview of all runs on the server instance.

Resolves eclipse-apoapsis#837.

Signed-off-by: Johanna Lamppu <[email protected]>
github-merge-queue bot pushed a commit that referenced this issue Oct 21, 2024
Add a runs overview page to allow superusers to get
a quick overview of all runs on the server instance.

Resolves #837.

Signed-off-by: Johanna Lamppu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ui Issues related to the UI.
Projects
None yet
Development

No branches or pull requests

4 participants