chore(ai-review): 遷移 exclusions 舊腳色名並清空 findings
AI / 計算版本號 (pull_request) Successful in 3s
AI / Code Review (pull_request) Failing after 1m17s

This commit is contained in:
Jeffery
2026-06-16 16:41:42 +08:00
parent d8b681e63b
commit 9e3c7f61bf
2 changed files with 37 additions and 52 deletions
+1 -16
View File
@@ -1,16 +1 @@
[
{
"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
}
]
[]