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

Add the ability to select a pipeline/task from a dropdown list and optionally make it mandatory #3274

Open
cmorinupgrade opened this issue Jan 25, 2024 · 3 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@cmorinupgrade
Copy link

Feature request

Have a dropdown list with all tekton.dev/pipeline/tekton.dev/task available. Clicking on it would filter the list of PipelineRuns/TaskRuns.

Use case

Running Tekton at large scale makes it quite challenging to get good UX on the dashboard given the number of CRDs laying around on the cluster (even with some aggressive pruning, you still get thousands of CRDs in-cluster for 800-1000 repositories, which results in every page load to query the entire etcd database!).

Alternatives

An alternative is to use hyperlinks to get to the pages we want. However, having a mandatory dropdown (forcing developers to select a pipeline/task should be configurable) would help developers select the pipeline/task they need, while also improving overall UI performance since we would not end up querying the entire etcd database everytime.

Additional context

N/A

@cmorinupgrade cmorinupgrade added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 25, 2024
@AlanGreene
Copy link
Member

Thanks for the feature request @cmorinupgrade.

The Dashboard already provides links to the PipelineRuns / TaskRuns pages filtered by the selected Pipeline / Task, you can find these on the Pipelines / Tasks pages. These can be filtered by namespace and/or label too to further scope the results. Does this address your need?

image

image

@cmorinupgrade
Copy link
Author

cmorinupgrade commented Jan 26, 2024

That's a good start, yes. Would have been great to have a dropdown in the PipelineRuns panel where we find developers going more often. I was thinking of something similar to the dropdown we have for namespaces, but now for Pipeline/Task directly in the PipelineRuns and TaskRuns pages.

I was also thinking of having a way to configure the deployment of the actual dashboard so that developers are forced to select a Pipeline from the dropdown, to avoid doing heavy querying against etcd at large scale. That would avoid querying ALL PipelineRuns/TaskRuns for a particular namespace, which in our case, can result in thousands of CRDs even though we aggressively prune them. Granted, Results API is the best option but for now there are gaps that avoid us from going that route.

These relatively small features would enable large scale companies to confine the problem of heavy queries against their etcd databases.

What do you think?

@AlanGreene
Copy link
Member

Providing the user with a better filtering experience is definitely something we want to do and we have explored a number of options in the past, for example: #1428 (comment)

However, I'm not sure about forcing the user to select a pipeline before displaying anything. I don't think this is something we're likely to add in the short term at least, but leave it with me for now and I'll see if we can organise some user tests.

I'd prefer to see the effort put into addressing gaps in the Results API since that's the strategic direction we'd like to go and it would provide much greater value to more users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants