Compare commits

..

1 Commits

Author SHA1 Message Date
AI Review Bot e03b1c7045 chore: update ai-review findings [ai-review-bot][success]
AI / 計算版本號 (pull_request) Successful in 3s
AI / Code Review (pull_request) Successful in 4s
2026-06-16 08:19:47 +00:00
+16 -1
View File
@@ -1 +1,16 @@
[] [
{
"level": "warning",
"role": "Maya",
"location": "app/comments.test.js:84",
"suggestion": "請為 `postNewCriticalComments` 函數新增一個測試案例,驗證當傳入空的 `findings` 陣列時,函數能正確執行且不發布任何 comment。這能確保邊界條件的處理是符合預期的。",
"is_new": true
},
{
"level": "warning",
"role": "Maya",
"location": "app/comments.test.js:84",
"suggestion": "目前 `postNewCriticalComments` 的測試案例主要針對單一 critical finding。建議新增一個測試案例,包含多個 `is_new` 且 `level === 'critical'` 的 findings,其中一些可以成功發布行內 comment,另一些則因 `parseLocation` 失敗或 `postInline` 拋出錯誤而降級為一般 comment。這能更全面地驗證迴圈邏輯和多個問題的處理。",
"is_new": true
}
]