Skip to content

Icc 294 after deploy#155

Open
GulSauce wants to merge 17 commits intodevelopfrom
ICC-294-after-deploy
Open

Icc 294 after deploy#155
GulSauce wants to merge 17 commits intodevelopfrom
ICC-294-after-deploy

Conversation

@GulSauce
Copy link
Member

📢 설명

변경 1: [제목]

[변경에 대한 설명]

의사 선택과정 (trade-off)

trade-off가 있는 경우에만 작성

얻은 것

잃은 것

코드 설명: 인라인 코멘트 확인

✅ 체크 리스트

재현 확인

  • (PR 작성 시 채워주세요)

기본

  • 의사 선택 과정이 적절한지 확인
  • 코드 리뷰

- Scouter 에이전트/설정/플러그인 전체 삭제
- Glowroot 0.14.5 Standalone 에이전트 추가 (app/glowroot/)
- build.gradle: scouterJvmFlags → glowrootJvmFlags 교체, bootRun 에이전트 적용
- 프로덕션 docker-compose: Glowroot UI 포트 노출 (Blue:4001, Green:4002) + 데이터 볼륨
- deploy.sh: 환경변수 기반 Glowroot 인증 자동 설정 (admin.json 동적 생성)
- CD 워크플로우: GLOWROOT_USER/PASSWORD 환경변수 추가
- 로컬 docker-compose: Scouter 서버 컨테이너 제거
- QuizHistory: @softdelete 어노테이션 적용, deleted 필드 수동 관리 제거
- Repository: 불필요한 커스텀 쿼리 제거, Spring Data JPA 메서드 네이밍 통일
- GenerationCommandServiceImpl: Slack 알림 로직을 GenerationSlackNotifier로 분리
- null 체크를 CollectionUtils.isEmpty()로 통일
@coderabbitai
Copy link

coderabbitai bot commented Mar 20, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b4bceb35-8c1d-4b5d-8bc8-5b2eada3a886

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ICC-294-after-deploy

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

GulSauce added 12 commits March 21, 2026 13:42
- initHistory: 퀴즈 생성 시 히스토리 초기화
- deleteAllHistory: 전체 히스토리 삭제
- updateHistoryTitle: 히스토리 제목 변경
- title 필드 추가 (QuizHistory, SaveHistoryRequest)
- 히스토리 목록 조회 구현 (QuizHistoryMapper)
- Generation 내부 전용 서비스임을 패키지 구조로 명시
- postRefineQuiz 메서드로 셔플/해설 빌드 로직 통합
- InitHistoryRequest DTO 생성 (problemSetId, title)
- POST /history/init 엔드포인트 추가
- GenerationCommandServiceImpl에서 QuizHistoryCommandService 의존성 제거
- generation ↔ history 서비스 간 완전 분리
- @softdelete 제거하고 물리 삭제로 변경
- deleteAll 대신 JPQL DELETE 쿼리로 성능 개선
- initHistory를 bulk INSERT 네이티브 쿼리로 최적화
- ChangeHistoryTitleRequest record 생성 (NotBlank, Size 검증 포함)
- Map<String, String> 대신 타입 안전한 DTO로 교체
- userId가 null인 경우 NPE 방지를 위한 null 체크 추가
- 예외를 NOT_ENOUGH_ACCESS로 변경
- HistoryIdResponse record 생성 (initHistory, saveHistory 공용)
- initHistory 반환 타입을 void → String으로 변경하여 historyId 반환
- Map<String, String> 대신 타입 안전한 DTO로 통일
- ChunkInfo에 boolean fastFirst 필드 추가
- ChunkSplitter.distributeQuizCount()를 첫 청크 1문제 고정 + 나머지 라운드 로빈으로 변경
- 페이지 분배는 기존 균등 방식 유지, 첫 청크만 fastFirst=true
- 3개 GuideLine 프롬프트의 근거/복습 인용 마커 통일
- ExplanationMarkdownBuilder 마커 동기화
- HistoryDetailResponse에 totalTime 필드 추가
- QuizHistoryCommandServiceImpl, QueryServiceImpl 매핑 반영
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant