Wire the Incremental Review Path With Full Diff Fallback
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
Start with packages/core/src/review/phase.ts, then trace how previousCommitSha, getIncrementalDiffFiles, and loadSuppressedFingerprints are provided to the review phase. Add coverage for incremental reviews, missing-SHA fallback, and the setting-off path; the issue names npm run typecheck, npm test, and npm run lint as verification commands. Done means incremental jobs review only the commit-delta files, retain PR context, suppress duplicate findings, and record the reviewed commit range in the job summary.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Goal
Wire the incremental review path into the review phase (packages/core/src/review/phase.ts) when config.review.incremental === true, including the full-diff fallback.
Background
This sub-issue connects the earlier pieces: the review.incremental setting, the resolved previousCommitSha, and getIncrementalDiffFiles. When the setting is on and a previous SHA exists, the LLM review runs only on the incremental file set. Otherwise the review falls back to the current full PR diff.
This sub-issue is part of the parent issue: incremental reviews on synchronize events.
What to Build
- In the review phase, branch on
config.review.incrementaland the presence ofpreviousCommitSha - When incremental: use
getIncrementalDiffFilesand run LLM review only on those files - Retain PR-level context (title, description) for the review prompt and summary
- Continue to suppress already-flagged findings via the existing
loadSuppressedFingerprintsmechanism so duplicate comments are not re-posted - Fall back to the full PR diff when
previousCommitShais missing (first push, or superseded prior job) - Update the job summary to note that the review was incremental and which commit range was reviewed
Done When
-
review.incremental: truewith a valid previous SHA reviews only the commit-delta files - Missing previous SHA falls back gracefully to the full PR diff
- Suppressed findings are not re-posted on incremental reviews
- Job summary records the reviewed commit range for incremental jobs
- Existing full reviews (auto-triggered and mention-triggered) are unchanged when the setting is off
- Tests cover the incremental path, the fallback, and the off-by-default behavior
-
npm run typecheck,npm test, andnpm run lintall pass
- Ngôn ngữ chính
- TypeScript
- Star
- 125
- Fork
- 23
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của devarshishimpi/codra
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
devarshishimpi/codra#178 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
devarshishimpi/codra#176 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
devarshishimpi/codra#186 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
devarshishimpi/codra#185 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
devarshishimpi/codra#184 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của devarshishimpi/codra
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 83/100
gofish-graphics/gofish-graphics#1384 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
adapter bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Olanetsoft/agent-lookout#353 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
vicharanashala/vibe#1542 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug chore P2 size:XS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
josephfung/curia#2666 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: batch
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
inabagumi/shinju-date#7294 ·
Maintainer thường phản hồi trong vòng 1 ngày