Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#775 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
git, github, python
领域
ci-cd, devops, tooling

调研方向

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

taskcluster/taskgraph 的其他 Issue

查看 taskcluster/taskgraph 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。