Conversation
There was a problem hiding this comment.
Code Review
본 풀 리퀘스트는 민감한 소스 코드 유출을 방지하기 위해 AI 프롬프트 및 응답 디버그 아티팩트(ai-prompt.json, ai-response.json)에서 원본 코드와 패치 내용을 제거하고 메타데이터(바이트 길이, 해시, 라인 수, 헌크 범위 등)로 치환하는 정제(Sanitization) 기능을 추가합니다. 리뷰어는 테스트 코드(tests/workflows/mergeRiskWatch.test.ts)에서 정제된 아티팩트 값과 정제되지 않은 OpenAI 요청 값을 직접 비교하여 테스트가 실패하게 되는 오류를 지적하였으며, 원문이 정상적으로 제거되고 메타데이터가 기록되었는지 검증하도록 구체적인 테스트 코드 수정을 제안했습니다.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
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-prompt.json의 코드 문맥 원문을 metadata로 치환ai-response.json의patch원문을 metadata로 치환README.md의 debug artifact 설명 정합성 갱신🔍 상세
userPrompt의content를filePath,startLine,endLine,lineCount,contentByteLength,contentHash,truncated로 변환userPrompt를 원문 없이 byte length, hash, redaction 여부로 기록patch를byteLength,lineCount,hunkRanges로 변환oldStart,oldCount,newStart,newCount추출📸 영상 / 이미지 (Optional)