automatic lockfile updating and LLM review
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- rust
- Lĩnh vực
- build-system, ci-cd, security
Hướng nghiên cứu
Bắt đầu bằng cách kiểm tra các tệp Cargo-minimal.lock và Cargo-recent.lock được đề xuất, sau đó xem xét cargo-rbmt và rust-bitcoin để tìm các mẫu kiểm tra dependency tối thiểu. Tiếp theo, điều tra cách repository này có thể chạy một cronjob để cập nhật dependency và nhận review từ LLM. Được xem là hoàn tất khi các lockfile đã được xác thực và quy trình cập nhật và review tự động đã được xác định và hoạt động.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I'd like to pilot a new lockfile process here. Using this repo since it's widely-used but development is pretty slow, so hopefully it won't be too disruptive to try new stuff. Here's my proposal:
- We add a
Cargo-minimal.lockalongsideCargo-recent.lockwhich is checked to actually match the minimum dependencies. cargo-rbmt has some facility for checking this; we should take a look at what rust-bitcoin does. - For
Cargo-recent.lock, we add a cronjob that (attempts to) update every dependency to the latest version, whenever a new version comes out. The PR should query a LLM agent to review the diff, providing a summary of changes (highlighting anything that "seems important" but wasn't mentioned in the CHANGELOG), a security audit, and a summary of how this crate might be affected.
If this works, we can try doing it on other repos. We may need to do something clever to share reviews so we're not re-reviewing the same dep on every repo that needs it. (But OTOH, I would guess that the cost is only a dollar or two per update, on average, and maybe there's value in doing multiple passes.)
We've had several abortive attempts to use humans to review each dependency update. In practice there's just way too much to handle, so instead we put off updating the lockfile til we're forced to. And then we just do it without looking at the diffs.
cc @Arvolear @psgreco -- I would appreciate a concept ACK. I'd also like Blockstream to sponsor the LLM usage here.
- Ngôn ngữ chính
- Rust
- Star
- 57
- Fork
- 40
- Merge trung bình
- 11 giờ 58 phút
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 ElementsProject/rust-elements
-
The Fuzz workflow is failing Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
ElementsProject/rust-elements#290 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
ElementsProject/rust-elements#277 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
ElementsProject/rust-elements#268 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
ElementsProject/rust-elements#262 · 2 bình luận · 1 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
ElementsProject/rust-elements#260 · 1 bình luận ·
Tất cả issue của ElementsProject/rust-elements
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
gitbutlerapp/gitbutler#15998 · 1 bình luận ·
-
bug triage:deciding
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
open-telemetry/otel-arrow#4132 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100