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

`taskgraph load-task` should cache docker images

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

Maintainer thường phản hồi trong vòng 1 ngày

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
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
docker, python
Lĩnh vực
cli, devops

Hướng nghiên cứu

Start at the taskgraph load-task command and trace the code that downloads and loads image.tar.zst from the Taskcluster artifact URL. Determine the cache location and reuse rules, then verify that a second load-task invocation does not download the image again and still loads it successfully.

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

Mô tả

Currently, if you run, say taskgraph load-task Ww-q-IvVTfed8xepUhNWaw twice, you'll see:

2025-09-26 15:54:49,487 - INFO - Downloading from https://community-tc.services.mozilla.com/api/queue/v1/task/MUvi2npBRue4VmksTmsdEw/artifacts/public/image.tar.zst
Loaded image: ci:latest

each time in the logs. It would be useful to cache this downloaded image, as some of these images are large and this takes up a good portion of the time when running load-task.

Subsequent runs would be much faster and help the local debugging/development process.

Ngôn ngữ chính
Python
Star
26
Fork
55
Merge trung bình
2 ngày 5 giờ
Pull request đã merge (30 ngày)
19

Chuẩn bị môi trường

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.