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

run-task hangs when cloning a github repository with LFS files and git-lfs installed

Đang mở
#775 1 bình luận 0 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
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
git, github, python
Lĩnh vực
ci-cd, devops, tooling

Hướng nghiên cứu

Start at the run-task entry point that invokes the GitHub clone command, and inspect how its standard input and process termination are handled. Reproduce the credential-prompt scenario with a repository containing LFS files, then verify that the task aborts instead of waiting until timeout.

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

Mô tả

We had an odd issue in some translations tasks last week: they suddenly started requiring credentials to clone the repository. It's unclear why this happened (the repository is still public...), but nevertheless it highlighted the fact that run-task simply hangs in this scenario, and wastes resources until the task times out:

[vcs 2025-09-09T18:43:02.107+00:00] executing ['git', 'clone', 'https://github.com/mozilla/translations', '/builds/worker/checkouts/vcs']
[vcs 2025-09-09T18:43:02.109+00:00] Cloning into '/builds/worker/checkouts/vcs'...
Username for 'https://github.com': [taskcluster 2025-09-09T18:59:21.223Z] [taskcluster-proxy] Successfully refreshed taskcluster-proxy credentials: task-client/Mir70a0hRim0qvIfTjAcRw/0/on/us-west1-b/3099223815166478912/until/1757445561.163
[taskcluster 2025-09-09T19:16:21.206Z] [taskcluster-proxy] Successfully refreshed taskcluster-proxy credentials: task-client/Mir70a0hRim0qvIfTjAcRw/0/on/us-west1-b/3099223815166478912/until/1757446581.188
...
...
...
[taskcluster 2025-09-15T10:08:41.854Z] Command ABORTED after 135h25m43.489856784s: process aborted
[taskcluster 2025-09-15T10:08:41.854Z]  Average Available System Memory: 49.86 GiB
[taskcluster 2025-09-15T10:08:41.854Z]       Average System Memory Used: 568.96 MiB
[taskcluster 2025-09-15T10:08:41.854Z]          Peak System Memory Used: 886.15 MiB
[taskcluster 2025-09-15T10:08:41.854Z]              Total System Memory: 50.98 GiB
[taskcluster 2025-09-15T10:08:41.854Z] 
[taskcluster 2025-09-15T10:08:41.866Z] === Task Finished ===

We should find a way to detect this and abort.

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.