Commit Graph
9 Commits
Author SHA1 Message Date
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