Dependabot drops an unchanged transitive dependency when bumping a composite action
Maintainer thường phản hồi trong vòng 1 ngày
Một pull request liên quan đã được merge.
- #260 của @nodeselector — đã merge
Đá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
- 30/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, go
- Lĩnh vực
- build-system, devtools
Hướng nghiên cứu
The bug sits in how gh-actions-lock regenerates the nested dependency edges of composite actions, and the payload names no specific file. Start by reproducing with the Dependabot-style bump of update-flake-lock from v28 to v29 and comparing the regenerated lockfile against the output of the workaround command with --relock --no-narrow. Done means --verify passes after a plain regeneration without the workaround flags and the nested write-file-action entry is retained.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened
A grouped Dependabot version update bumped DeterminateSystems/update-flake-lock from v28 to v29 and regenerated actions.lock in the same commit. The regenerated entry for update-flake-lock@v29 is missing one of its nested dependencies, so gh actions-lock --verify fails:
Lockfile doesn't match locked manifest DamianReeves/write-file-action@6929a9a6d1807689191dcc8bbe62b54d70a32b42
determinatesystems/update-flake-lock@v29 at locked commit da03c0f078bc uses DamianReeves/write-file-action@6929a9a6d1807689191dcc8bbe62b54d70a32b42, but its lockfile entry determinatesystems/update-flake-lock@v29 does not record it
Dependabot also deleted the top-level damianreeves/write-file-action@6929a9a… dependency entry.
- Dependabot PR: https://github.com/EspressoSystems/espresso-network/pull/5442
- Failing verify run: https://github.com/EspressoSystems/espresso-network/actions/runs/41381770489/job/125073906836?pr=5442
Current Workaround
gh actions-lock .github/workflows/update_nix.yml --relock --ignore-local-actions --no-narrow
This restores the entry and the edge, and --verify passes.
Versions
- gh-actions-lock v0.4.0 (CI verify and local relock), run with
--ignore-local-actions --no-narrow - Lockfile schema v0.0.3
Possibly related: #183 (composite actions and their nested pins).
- Ngôn ngữ chính
- Go
- Star
- 295
- Fork
- 21
- Merge trung bình
- 1 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 64
Chuẩn bị môi trường
- Không có Dockerfile hay 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 github/gh-actions-lock
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
github/gh-actions-lock#267 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
github/gh-actions-lock#266 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
github/gh-actions-lock#264 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 42/100
github/gh-actions-lock#262 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
--migrate-local-actions rewrites action files in nested worktrees and submodulesCó thể đã có người làm @aksestok đã nhận 3 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
github/gh-actions-lock#253 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của github/gh-actions-lock
Issue tương tự
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
WriterSetTimes: the UTIME_NOW check fails when the kernel uses its coarse clockCó thể đã có người làm @JakeChampion đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
JakeChampion/lang#14224 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(reference): pi stream-filter bullet says tool_execution_update passes through unchangedĐang mởagent-butler-finding bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
jordansmall/spindrift#6391 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
common.Retry: data race on the shared response/err variables when the request context ends mid-attempt (v65.127.0, v65.128.0)Có thể đã có người làm @kmohit00 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
oracle/oci-go-sdk#676 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
SAP/crossplane-provider-btp#1175 ·
Maintainer thường phản hồi trong vòng 1 ngày