Commit Graph
19 Commits
Author SHA1 Message Date
Jeffery 4a0f8bcc36 test(ai-review): 補關閉所有 comment、部分 resolve 失敗、百分比邊界與 usageSection 排版測試 2026-06-23 14:58:15 +08:00
Jeffery cadfaff31d test(ai-review): 補 comment 只標註新問題與對話收斂 duplicate 分支測試 2026-06-23 13:51:36 +08:00
Jeffery 55bd14e480 test(ai-review): 更新統計四欄、OpenRouter 精確比對與 codeWindow 邊界測試 2026-06-23 13:15:58 +08:00
Jeffery a27555b35a test(ai-review): 補使用量統計與 resolve 安全與邊界測試 2026-06-23 12:58:43 +08:00
jiantw83 31de74c603 refactor(ai-review 統計): 精簡 action log 統計輸出
AI / 計算版本號 (pull_request) Successful in 2s
AI / Code Review (pull_request) Successful in 1m26s
2026-06-23 02:27:18 +00:00
jiantw83 12c54212f0 feat(ai-review 統計): 將統計改為新舊問題分列 2026-06-23 02:20:44 +00:00
jiantw83 3527a06244 test(comments review): 強化嚴重等級解析 helper 2026-06-22 16:35:37 +00:00
jiantw83 e3890787ff test(comments review): 抽出嚴重等級解析斷言 2026-06-22 16:32:23 +00:00
jiantw83 e443096325 test(comments review): 驗證 Review comments 依嚴重度排序
AI / 計算版本號 (pull_request) Successful in 2s
AI / Code Review (pull_request) Successful in 56s
2026-06-22 15:36:08 +00:00
jiantw83 279bcc2101 fix(評論發布): 只統計新問題並排序 comments
AI / 計算版本號 (pull_request) Successful in 2s
AI / Code Review (pull_request) Successful in 1m13s
2026-06-22 23:02:21 +08:00
jiantw83 f83a2034a8 fix(ai-review comment): 顯示審查問題原因 2026-06-22 10:27:33 +00:00
jiantw83 e8f4770814 style(ai-review 統計): 簡化嚴重等級數量表 2026-06-22 10:11:16 +00:00
jiantw83 71c9b40c0b style(ai-review 統計): 改用三欄兩行表格
AI / 計算版本號 (pull_request) Successful in 2s
AI / Code Review (pull_request) Failing after 1m10s
2026-06-22 10:07:43 +00:00
jiantw83 995a62e04d test(ai-review review): 補上 Review 發布測試 2026-06-22 10:01:49 +00:00
jiantw83 a9ac7857be test(comments): 改善嚴重問題留言斷言可讀性 2026-06-17 06:50:56 +00:00
Jeffery d8b681e63b test(roles 與 comments): 新增腳色載入器測試與嚴重問題 comment 的邊界/多筆案例 2026-06-16 16:41:40 +08:00
JefferyandClaude Opus 4.8 caebd2b112 feat: 嚴重問題改用 Gitea 行內 review comment 標註檔案行數
AI / 計算版本號 (pull_request) Successful in 4s
AI / Code Review (pull_request) Successful in 1m35s
每個新的嚴重問題改以行內 review comment 標註在問題所在的檔案與行數上,
留言內容為等級/審查員/建議;無法解析出行號(未標行號或一次列出多個
檔案),或行內留言失敗(該行不在 diff 範圍)時,降級為原本的一般 PR comment。

- gitea.js:新增 postPullReviewComment,呼叫 pull reviews API,以 new_position
  對應新版檔案行號、commit_id 帶 PR_HEAD_SHA
- comments.js:新增 parseLocation(支援 file:19 / file:70-82,取起始行)與
  行內留言內容組裝;postNewCriticalComments 先試行內、失敗降級,deps 可注入
- 補 11 個測試(API payload、parseLocation 各情境、行內成功與兩種降級路徑)
- README 更新流程第 7 步說明

app/ 測試 123 pass。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 14:40:36 +08:00
jiantw83 78ec8f6d6a test: cover saveFindings temp dir cases 2026-05-15 06:17:09 +00:00
jiantw83 5c5773e4fd fix: write findings to review dir 2026-05-15 06:10:09 +00:00