Repository navigation
fix: AI 리뷰 미완성 응답 진단 및 재시도 - #28
Merged
Merged
Conversation
AI 사전 코드 리뷰 (파일럿)검토 SHA: AI 코드 리뷰 파이프라인에서 Gemini 응답의 출력 토큰 한도(`MAX_TOKENS`) 초과 시 최대 토큰 수를 확장(8,192 → 16,384)하여 1회 재시도하는 로직을 추가하고, 실패 시 민감한 본문 유출 없이 안전한 종료 이유만 예외 메시지로 남기도록 개선했습니다. 이에 대한 단위 테스트 및 작업 문서 업데이트도 함께 포함되어 있습니다.
사람의 판정: |
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.
관련 이슈
AI 응답이 완성되지 않았습니다.로 실패한 실행 38844110491. 실패 job 재실행에서도 같은 오류가 발생했습니다.변경사항
MAX_TOKENS로 끝나면 출력 한도를 8,192에서 16,384로 높여 한 번 재시도합니다. 다른 종료 이유는 재시도하지 않습니다.변경·영향 범위
담당 주 영역:
AGENTS.md,docs/)PR 분류
CI의 AI 리뷰 스크립트 변경이므로 머지 전 담당자 확인이 필요합니다.
사전 예측
MAX_TOKENS인지 아직 확인할 수 없습니다. 재시도 시 Gemini 호출 비용과 시간이 증가할 수 있습니다.pull_request_target은 기준 브랜치의 스크립트를 실행하므로, 이 PR 머지 후 #27의 AI 리뷰를 다시 실행해야 새 동작을 확인할 수 있습니다.실제 결과·트러블슈팅
검증 결과
node --check .github/ai-review/run.mjs통과,node --test .github/ai-review/*.test.mjs19개 통과,xcrun swift-format lint --recursive --strict Paxo PaxoTests통과, macOSxcodebuild build통과,xcodebuild test72개 통과,git diff --check통과. 실제 Gemini 호출은 이 PR 머지 전에는 기준 브랜치의 기존 스크립트가 실행되므로 새 코드로 검증할 수 없습니다.