Dependabot uv job times out and tries to update workspace members
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/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ệ
- github-actions, python, yaml
- Lĩnh vực
- build-system, devops
Hướng nghiên cứu
Start by reading .github/dependabot.yml and the root pyproject.toml workspace configuration; the linked Dependabot run shows the failure and timeout. Compare the two proposed approaches: renaming internal distributions or generating and validating the ignore list. Done means Dependabot skips workspace members and the weekly uv update completes without timing out.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The weekly Dependabot uv update for / has been timing out or failing since early November (e.g. https://github.com/mozilla/bugbug/network/updates/1694419512).
Two causes:
- Dependabot treats uv workspace members as PyPI packages.
testrail-clientexists on PyPI (0.1.2), so Dependabot tries to "update" our 0.1.0 workspace member and fails withdependency_file_not_resolvable. Same foragent-tools. Dependabot does not honor{ workspace = true }sources, even when declared in the rootpyproject.toml. - The job is right at the ~55 min timeout. Each check re-resolves the whole workspace (~16s each) and a run does 200-250 checks; ~30 of those are on workspace members, which we never want updated.
Ignoring the workspace members in .github/dependabot.yml fixes both, but an explicit list of names would have to be kept in sync manually as members are added. Options to avoid that:
Option 1: rename internal packages under a common prefix
Most members are already hackbot-*. Rename the remaining ones (agent-tools, autowebcompat-tools, bugzilla-client, lando-client, phabricator-client, phabricator-proxy, testrail-client) to e.g. hackbot-agent-tools, hackbot-testrail-client, ... so the ignore block becomes a fixed pair of wildcards:
ignore:
- dependency-name: "hackbot-*"
- dependency-name: "bugbug*"
Only distribution names change (pyproject.toml files and uv.lock); import names like testrail_client stay the same. It also removes a dependency-confusion risk: anything installing these outside the workspace (Docker builds, plain pip install) could currently pull an unrelated package from PyPI.
Option 2: generate the ignore list automatically
Add a pre-commit hook that reads the workspace member names and rewrites (or validates) the ignore block in dependabot.yml. No renames needed, but it adds a script to maintain and the PyPI name collisions remain.
- Ngôn ngữ chính
- Python
- Star
- 579
- Fork
- 369
- Merge trung bình
- 3 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 139
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mozilla/bugbug
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Replace the direct useag of `recorder.record()` in agent with the tool usageCó thể đã có người làm @SanyaKor đã nhận 11 ngày trước. Đang mởhackbot
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 3 ngày
-
hackbot
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
Maintainer thường phản hồi trong vòng 3 ngày
-
hackbot
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Fix ASYNC109 Ruff violationsCó thể đã có người làm @reginaldalfret đã nhận 44 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
mozilla/bugbug#6987 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của mozilla/bugbug
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
samuelclay/NewsBlur#2214 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
MODEL_NOT_FOUND gives no suggestion for a model listed only as model:profileCó thể đã có người làm @ShaiShmuel đã nhận hôm nay. Đang mởenhancement rust
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
superlinked/sie#985 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
readthedocs/readthedocs-builder#73 ·
Maintainer thường phản hồi trong vòng 1 ngày