You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AI 기반 테스트 자동 생성 오케스트레이터 구축 PR입니다. CI 워크플로우 설정, 테스트 환경 구성(application-test.yml, H2 의존성), AI 테스트 생성 셸 스크립트(scripts/ai-test.sh), 그리고 TripConverter 단위 테스트(15개) 추가가 주요 변경사항입니다.
🔴 심각 — CI 워크플로우 버그
파일:.github/workflows/claude-code-review.yml
interactive 잡의 claude_args가 빈 값으로 설정되어 있습니다.
# 변경 후 (버그)claude_args: |\ No newline at end of file
| 블록 스칼라에 내용이 없고 파일 끝 개행도 없어 YAML 파싱 오류 또는 빈 문자열이 됩니다. 기존에 있던 --max-turns 5가 사라졌습니다. 다음과 같이 복구해야 합니다:
claude_args: "--max-turns 5"
🔴 심각 — 보안: --dangerously-skip-permissions
파일:.github/workflows/claude-code-review.yml, 라인 11
--dangerously-skip-permissions는 Claude Code의 권한 확인을 전부 건너뜁니다. CI 환경에서는 CLAUDE_CODE_OAUTH_TOKEN, GitHub 토큰, 리포지토리 쓰기 권한이 모두 노출된 상태이므로, 악의적인 PR 내용이 이 플래그를 통해 임의 명령을 실행할 수 있는 공격 면이 생깁니다.
권고:--dangerously-skip-permissions 제거 후, 필요한 개별 권한을 명시적으로 허용하는 방식으로 교체하세요.
두 파일 모두 디렉터리 경로는 dodutch_server(소문자)이지만 패키지 선언은 DoDutch_server(대문자)입니다.
// 파일 경로: .../dodutch_server/...// 패키지 선언:packagegraduation.project.DoDutch_server.domain.trip.converter;
CLAUDE.md에서도 이 문제를 명시적으로 경고하고 있습니다:
"테스트 패키지는 반드시 graduation.project.DoDutch_server로 작성 (대문자 D 주의)" "테스트 파일 생성 후 package 선언이 디렉토리 경로와 정확히 일치하는지 확인"
Linux(CI)는 case-sensitive 파일시스템이므로, dodutch_server와 DoDutch_server는 다른 디렉터리입니다. Gradle이 파일을 찾더라도 컴파일된 클래스의 FQN이 디렉터리 구조와 불일치하여 IDE 지원 및 일부 빌드 도구에서 문제가 발생할 수 있습니다.
권고: 파일을 src/test/java/graduation/project/DoDutch_server/ 경로로 이동하거나, 패키지 선언을 디렉터리에 맞게 dodutch_server로 통일하세요.
🟡 주의 — DoDutchServerApplicationTests에 @ActiveProfiles("test") 누락 가능성
Yeobi00
changed the title
AI 기반 테스트 자동 생성 오케스트레이터 구축
[Feat] AI 기반 테스트 자동 생성 오케스트레이터 구축
Apr 30, 2026
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
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.
#️⃣ Issue Number
📝 요약(Summary)
🛠️ PR 유형
어떤 변경 사항이 있나요?
📸스크린샷 (선택)
💬 공유사항 to 리뷰어
✅ PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요.