Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Adjust `index-search` optimization to take artifact expiration into account

Đang mở
#247 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
devops

Hướng nghiên cứu

Start by locating the index-search optimization and the task-definition handling for artifact expiration. Trace how fetches declarations identify dependent artifacts, then verify that replacement candidates are rejected when those artifacts expire before the dependent task deadline.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

feature

Sometimes artifacts can expire before a task does, e.g to save on storage costs. The problem is that sometimes, the index-search optimization will optimize by replacement with a task who's artifact has expired, and then the dependency who needs it will fail with a 404.

In many cases, it's not clear which artifacts (if any) a dependent needs, so it's impossible to tell whether the existing task is valid or not. But in some cases, (e.g if the dependent declares the artifact via the fetches feature), we at least know that some subset of artifacts are going to be used. In these cases, the index-search optimization should inspect the task definition and ensure that these artifacts will expire sometime after the deadline of the dependent task before it will consider it as a candidate for replacement.

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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của taskcluster/taskgraph

Tất cả issue của taskcluster/taskgraph

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.