fix: 移除误提交的 agent-registry gitlink,修复 gate/scorecard checkout 失败 - #52
Conversation
初始提交 416f5f5 把 agent-registry 以 gitlink(mode 160000) 形式带入了 仓库树,但仓库没有 .gitmodules——actions/checkout 在清理凭据阶段执行 git submodule foreach 时报 fatal: No url found for submodule path, 导致 gate / scorecard 在 main 与所有 PR 上一律失败。 REPOS.yaml 头部注释明确本组织「替代 submodule 方案:无指针过期、无 recursive clone 问题」,gitlink 属于误提交残留,本 PR 将其从索引中 删除(不涉及任何文件内容变更)。
|
Warning Review limit reached
Next review available in: 34 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 (1)
Comment |
PR Summary by QodoRemove accidental agent-registry gitlink to restore CI checkout
AI Description
High-Level Assessment
|
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 |
改了什么
agent-registrygitlink(mode 160000,无对应.gitmodules)为什么
agent-registry以 gitlink 形式带入仓库树,但本仓没有.gitmodulesactions/checkout在 "Removing auth" 阶段执行git submodule foreach时报fatal: No url found for submodule path 'agent-registry' in .gitmodules,导致 gate 与 scorecard 在 main push 及全部 PR 上一律失败(含 feat: event.schema v1.1——补 6 类治理审计事件(ADR-0016) #47–fix: governance-drift 评论按漂移指纹去重(红队 RB-B2,ADR-0016) #51 共 5 个 open PR)怎么验证
git ls-tree HEAD确认仅删除 gitlink 条目,无文件内容变更风险 / 回滚