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

UI to visualize and reprioritize scheduled+pending tasks #172

Open
escapewindow opened this issue Jan 26, 2022 · 4 comments
Open

UI to visualize and reprioritize scheduled+pending tasks #172

escapewindow opened this issue Jan 26, 2022 · 4 comments
Assignees

Comments

@escapewindow
Copy link
Contributor

I'm not sure if this is filed elsewhere. We've wanted this for a long time, to both help debug what's causing large pending queues, and to bump more urgent tasks to the front of the queue rather than keep it buried behind thousands of less-urgent tasks. We held off on this until we were on Postgres. Aiui that project is now over, and we are now able to implement something like this.

@lotas
Copy link
Contributor

lotas commented Mar 3, 2022

@escapewindow do you have something concrete in mind?
Can you please give more details, I would be happy to implement this, if it will help debug things faster.

@escapewindow
Copy link
Contributor Author

I don't know what the UI and/or API should look like specifically, no :)

We probably want use cases like:

  • Which tasks are running/unscheduled/pending per repository? commit?
  • Which tasks are running/unscheduled/pending per pool? when/why were they scheduled? what are their priorities?
  • Can we adjust the priorities of a subset of those?

We'll probably find that certain parts of the task definitions are of particular interest. We may also find that for this to work more programmatically, we need additional metadata.

(For instance, I'm not sure if there's a consistent way of determining the repo and revision. For Firefox Desktop, we set task.payload.env.{GECKO_HEAD_REF,GECKO_HEAD_REV,GECKO_HEAD_REPOSITORY} and we have an hg-style task.metadata.source that we can regex parse, but for Firefox Mobile we'd have MOBILE_HEAD_REF etc and a github-style task.metadata.source that we can regex parse. Most likely we'll implement something that works with the current data, and file bugs for Releng to add additional metadata to each task.)

@lotas
Copy link
Contributor

lotas commented May 11, 2022

I will add a comment from @Archaeopteryx which seems to touch the same topic:

Task load is opaque: scheduled, pending, running and completed tasks cannot be grouped by worker group

@lotas lotas self-assigned this May 11, 2022
@lotas
Copy link
Contributor

lotas commented May 13, 2022

This is also related to taskcluster/taskcluster#2939

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants