run-task hangs when cloning a github repository with LFS files and git-lfs installed
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Python
- 星标
- 26
- 派生
- 55
- 平均合并
- 2 天 6 分钟
- 30 天内合并 PR
- 15
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
taskcluster/taskgraph 的其他 Issue
-
难度 5/5 一周以上 新手友好度 20/100
taskcluster/taskgraph#952 ·
-
难度 4/5 3-5 天 新手友好度 35/100
taskcluster/taskgraph#915 ·
-
feature
难度 3/5 1-2 天 新手友好度 35/100
taskcluster/taskgraph#911 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
taskcluster/taskgraph#882 ·
-
难度 5/5 一周以上 新手友好度 35/100
taskcluster/taskgraph#865 · 1 条评论 ·
查看 taskcluster/taskgraph 的全部 Issue
相似的 Issue
-
area: harness bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
Human-Agent-Society/reef#625 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 80/100
learningequality/kolibri#15351 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
Name consistency 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
eellak/triplestore#65 · 1 条评论 ·