ElementsProject / ElementsProject/rust-elements
automatic lockfile updating and LLM review
- 主要語言
- Rust
- 星號
- 57
- 分支
- 40
- 平均合併
- 11 小時 58 分鐘
- 30 天內合併 PR
- 1
描述
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:
1. We add a `Cargo-minimal.lock` alongside `Cargo-recent.lock` which 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.
2. 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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
先檢查提議的 Cargo-minimal.lock 和 Cargo-recent.lock 檔案,接著檢視 cargo-rbmt 和 rust-bitcoin,以了解最小相依性檢查模式。接下來,調查此儲存庫如何執行用於相依性更新的 cronjob 並取得 LLM 審查。完成的標準是鎖定檔已通過驗證,且自動更新與審查流程已定義並正常運作。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- rust
- 領域
- build-system, ci-cd, security
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 冷清
- 描述清晰度
- 需要釐清
- 新手友好度
- 30/100