Hackbot agent failed to publish source changes
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with hackbot_runtime/changes.py, especially _git and _has_uncommitted at the stack trace locations, and inspect how commit_all obtains and uses the repository path. Reproduce the failed git status --porcelain call in the Hackbot agent environment and identify why Git exits with status 128. Done means the agent can collect and publish source changes successfully in that scenario.
由索引模型根据 Issue 内容生成。
描述
Sentry Issue: HACKBOT-AGENTS-S
CalledProcessError: Command '['git', '-C', '/workspace/firefox', 'status', '--porcelain']' returned non-zero exit status 128.
(2 additional frame(s) were not displayed)
...
File "hackbot_runtime/changes.py", line 353, in collect
wrapped = commit_all(repo, message)
File "hackbot_runtime/changes.py", line 105, in commit_all
if not _has_uncommitted(repo):
File "hackbot_runtime/changes.py", line 91, in _has_uncommitted
return bool(_git(repo, "status", "--porcelain").strip())
File "hackbot_runtime/changes.py", line 49, in _git
return subprocess.run(
File "subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
Failed to publish source changes
- 主要语言
- Python
- 星标
- 580
- 派生
- 373
- 平均合并
- 2 天 14 小时
- 30 天内合并 PR
- 159
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mozilla/bugbug 的其他 Issue
-
hackbot
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 2 天内回复
-
Log how long each step of the test scheduling takes可能已有人在做 @marco-c 于 5 天前认领。 未关闭http_service
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 2 天内回复
-
hackbot
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 2 天内回复
-
hackbot
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 2 天内回复
-
Fix ASYNC109 Ruff violations可能已有人在做 @reginaldalfret 于 50 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 80/100
UKGovernmentBEIS/inspect_ai#6733 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
ProyectoRespira/respira-webapp#334 ·
维护者通常 1 天内回复
-
bug security-alert
难度 2/5 1-3 小时 新手友好度 62/100
spectrayan/carefold#391 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
Jakeschincariol/instagram-agent-skill#83 ·
维护者通常 10 天内回复
-
难度 1/5 1 小时以内 新手友好度 64/100