ai-review-resolve/20260622090525
develop
app/main.js
app/comments.js
app/gitea.js
updateComment
app/*test.js
README.md
.gitea/ai-review/findings.json
npm test
PATCH /repos/{owner}/{repo}/issues/comments/{id}
🔍 服務:gemini 模型:gemini-2.5-flash
No dependencies set.
The note is not visible to the blocked user.
變更摘要
影響範圍
app/main.js:建立主 review comment 後,後續 finding 區塊 append 並更新同一則 comment。app/comments.js:comment helper 支援注入更新函式,critical 在集中模式下不再強制發行內 comment。app/gitea.js:新增updateComment對應 Gitea issue comment patch API。app/*test.js:補上 update comment、集中 critical comment、OpenCode TLS skip 的測試。README.md與.gitea/ai-review/findings.json:同步流程文件與 review 狀態。驗證
npm test:152 個測試通過。風險與注意事項
PATCH /repos/{owner}/{repo}/issues/comments/{id},若目標 Gitea 版本權限或 API 行為不同,可能需要回退成新增 comment。🤖 AI Code Review 團隊
Pull request closed