[review] PR 자동 리뷰를 최초 생성 시점에만 실행 - #19
Merged
Merged
Conversation
Collaborator
Author
|
/review |
Contributor
There was a problem hiding this comment.
🤖 코드 리뷰
PR 자동 리뷰 실행 시점을 synchronize(커밋 푸시)를 제외하고 최초 생성 시점으로 제한하는 변경입니다. GSML 토큰 사용량 감소를 위한 의도적인 변경으로, 코드 변경이 명확하고 일관성 있게 이루어졌습니다. reopened과 ready_for_review 액션이 여전히 포함되어 있어 PR 재개 시 자동 리뷰가 실행되는 점은 의도된 동작입니다.
지적 사항 없음 — 변경분에서 문제를 찾지 못했다.
모델 darwin-35b-q4_k_m.gguf · 파일 2개 리뷰 · 토큰 2,719 in / 478 out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경 사항
PR 자동 리뷰가 실행되는 시점을
opened액션(최초 생성)으로만 제한하였습니다. 기존에는opened,reopened,synchronize,ready_for_review모두에서 자동 리뷰가 실행되어, PR에 커밋을 푸시할 때마다(synchronize) 자동으로 재리뷰가 돌았습니다.src/server/handler.ts:PR_ACTIONS를AUTO_REVIEW_PR_ACTIONS = ['opened']로 변경src/config.ts:autoReview필드 주석을 새 동작에 맞게 수정변경 이유
synchronize(푸시) 시점마다 자동 리뷰가 반복 실행되어 GSML 토큰 사용량이 불필요하게 늘어났습니다. 리뷰 후 추가 커밋에 대한 재검토는/review코멘트로 명시적으로 요청하는 흐름으로 충분하다고 판단하여, 자동 리뷰는 PR 최초 생성 시점에만 실행되도록 하였습니다.확인 사항
npm run typecheck,npm run build통과 확인opened/synchronize이벤트로 직접 검증이 필요합니다.