Hackbot agent failed to publish source changes

Đang mở
#7,589 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
git, python
Lĩnh vực
devtools, tooling

Hướng nghiên cứu

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.

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

Mô tả

hackbot

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
Ngôn ngữ chính
Python
Star
580
Fork
373
Merge trung bình
2 ngày 14 giờ
Pull request đã merge (30 ngày)
159

Chuẩn bị môi trường

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 mozilla/bugbug

Tất cả issue của mozilla/bugbug

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.