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
-
The tests in test_actions_applier.py should not fail when adding a new gent可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉hackbot
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 2 天內回覆
-
Log how long each step of the test scheduling takes可能已有人在做 @marco-c 於 6 天前認領。 未關閉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 於 51 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 2 天內回覆
相似的 Issue
-
bug game: 0100FF500E34A000 game: 0400FF500E34A001 mac packing
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 2 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 74/100
jxxghp/MoviePilot#7576 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 64/100
jbaruch/software-factory#266 ·
維護者通常 1 天內回覆
-
cron: raise a distinct error when next_fire finds no match in its search bound (from #813 item 5)未關閉
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆