16 Commits
Author SHA1 Message Date
Jeffery f170c36fc8 feat(ai-review comment): 行內 comment 只標註新問題,舊問題僅計入統計 2026-06-23 13:51:36 +08:00
Jeffery 348036aea3 feat(ai-review 統計): 統計表改為四欄(含無法標示)並分新舊兩列 2026-06-23 13:15:58 +08:00
Jeffery 1151535161 feat(ai-review 使用量): 新增多平台 AI 助理使用量統計與剩餘可用百分比 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 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 757d9ad3c2 feat(ai-review review): 發布統計 Review 並彙整行內 comments 2026-06-22 10:01:49 +00: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 3fcbf788fc chore: unify log formatting 2026-05-15 15:25:26 +00:00
jiantw83 5c5773e4fd fix: write findings to review dir 2026-05-15 06:10:09 +00:00
jiantw83 fd854649db refactor: improve comment formatting and streamline AI handling in findings processing 2026-05-13 00:49:23 +00:00
jiantw83 4bace91d3d fix: add suggestions for LLM integration tests and code structure improvements in exclusions.json; ensure findings.json is saved with a newline 2026-05-12 06:03:30 +00:00
jiantw83 81e38de649 feat: 階段四 - findings 寫入與 comment 依序發布(舊問題→非嚴重→嚴重) 2026-05-11 09:44:45 +00:00