fix: gate 的 pyyaml 升级为版本+sha256 双锚定(ADR-0011) - #59
Conversation
scorecard 对 pip 命令要求哈希锚定(pipCommand not pinned by hash)—— 新版 pip 的 --hash 仅支持 requirements 文件形态,故改为 .github/requirements-gate.txt(pyyaml==6.0.3 + cp312 manylinux x86_64 wheel 的 sha256)经 --require-hashes 安装。
|
Warning Review limit reached
Next review available in: 30 minutes Limit details: You’ve used all 3 included reviews currently available. Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits within each organization. For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
PR Summary by QodoPin gate PyYAML installation by version and SHA-256
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can show, collapse, or hide each part of a finding: code, evidence, and all |
改了什么
.github/requirements-gate.txt(pyyaml==6.0.3 + sha256 哈希)gate.yml:pip install pyyaml==6.0.3→pip install --require-hashes -r .github/requirements-gate.txt为什么
--hash仅支持 requirements 文件形态(CLI 不接受),故经文件下发怎么验证
风险 / 回滚