Skip to content

Conversation

@minibr
Copy link
Contributor

@minibr minibr commented Dec 20, 2025

관련 이슈

PR 설명

  • 요약 재생성/버전 관리에서 “현재 선택된 요약”을 명확히 관리하기 위해 Summary.selected를 선택 플래그로 다루도록 정리했습니다.

변경 사항

  • Summary.selected를 boolean 플래그로 관리
  • 링크별 “선택된 요약 1개” 규칙을 위한 토글 로직 추가
  • 기존 선택 해제 → 특정 summary 선택 처리
  • 요약 조회 시 “선택된 요약” 기준으로 조회하도록 수정
  • 워커 저장 시 최초 생성 요약은 selected=true, 이후 생성된 요약은 false로 저장
  • 관련 테스트 수정/보강 및 전체 테스트 통과

문제 상황

image 첫 링크 저장시 selected 필드가 null 로 저장됨. 목표: 첫 생성은 true, 재생성된 요약은 false. 사용자가 선택한 요약에 따른 true 값 배정

@minibr minibr force-pushed the feature/#154-summary-selected-flag branch 3 times, most recently from 75d1bf6 to b110615 Compare December 20, 2025 19:34
@minibr minibr force-pushed the feature/#154-summary-selected-flag branch from b110615 to 5d0cefb Compare January 13, 2026 17:48
@minibr minibr force-pushed the feature/#154-summary-selected-flag branch from 5d0cefb to 89bc5ff Compare January 13, 2026 18:06
@github-actions
Copy link

📊 코드 커버리지 리포트

Overall Project 88.43% -0.32% 🍏
Files changed 71.05% 🍏

File Coverage
SummaryCommandService.java 100% 🍏
SummaryQueryService.java 95% 🍏
SummaryWorker.java 50.5% -5.45%

@minibr minibr requested a review from Goder-0 January 13, 2026 18:28
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.

요약 재생성/선택 토글 지원을 위한 Summary 선택 상태 관리 도입

2 participants