Dependency only tasks should run with maximum allowed priority of their dependents
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 30/100
Hướng nghiên cứu
Start by tracing how the optimized and target graphs are produced and how task priorities are represented. Then inspect how requests to the Taskcluster auth service could obtain the highest allowed priority. Done means dependency-only tasks follow the stated capped maximum-priority algorithm without changing target tasks.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Tasks that get pulled into the graph only as a dependency should adjust their priority to match the priority of the task(s) that depend on it.
For example, if a test task runs with the lowest priority, the build that it depends on should also be lowest priority. Conversely, if we're in the middle of a chemspill and need to schedule some release tasks with highest priority, the builds that they depend on should also run with highest priority.
In Gecko, we already have the ability to set the priority of an entire graph, so the chemspill case isn't that important. But the lowest case is not currently possible (unless you're willing to make the whole graph lowest). But in general, it would be nice if this tuning of priorities happened automatically and at a much more granular level.
I propose that for all tasks that are in the optimized graph but not the target graph, we set the priority based on the following algorithm:
min(<highest allowed priority>, max(<priorities of dependent tasks>))
Obtaining the <highest allowed priority> would require a request to the Taskcluster auth service. I'm not sure if we'd want the ability to toggle this behaviour on or off. I'd be inclined to make it the default at the very least.
- Ngôn ngữ chính
- Python
- Star
- 26
- Fork
- 55
- Merge trung bình
- 2 ngày 6 phút
- Pull request đã merge (30 ngày)
- 15
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của taskcluster/taskgraph
-
Dependency Dashboard Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
taskcluster/taskgraph#952 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
taskcluster/taskgraph#915 ·
-
feature
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
taskcluster/taskgraph#911 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
taskcluster/taskgraph#882 ·
-
Further optimize Git clones Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
taskcluster/taskgraph#865 · 1 bình luận ·
Tất cả issue của taskcluster/taskgraph
Issue tương tự
-
bug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
open-webui/open-webui#30750 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100