Skip to content

[DP-370] 히스토리 콘텐츠 미리보기를 AI 요약으로 변경#130

Merged
github-actions[bot] merged 1 commit intodevelopV2from
auto/fix/DP-370-history-content-summary-preview
Apr 24, 2026
Merged

[DP-370] 히스토리 콘텐츠 미리보기를 AI 요약으로 변경#130
github-actions[bot] merged 1 commit intodevelopV2from
auto/fix/DP-370-history-content-summary-preview

Conversation

@nYeonG4001
Copy link
Copy Markdown
Collaborator

Summary

  • HistoryService에서 히스토리 목록 조회 시 콘텐츠 ID 목록으로 DynamoDB AI 요약 일괄 조회 (batchGetItem)
  • HistoryItemResponse.of(history, summaryMap)으로 coreSummary 우선 사용, 없으면 Content.preview fallback
  • DynamoDB 장애 시 try-catch로 원문 미리보기 fallback 보장
  • AiSummaryRepositorybatchFindCoreSummaries 메서드 추가
  • getActivityHistory에도 동일 로직 적용

Test plan

  • AI 요약 있는 콘텐츠 → coreSummary 반환 확인
  • AI 요약 없는 콘텐츠 → 원문 preview fallback 확인
  • DynamoDB 조회 실패 → 원문 preview fallback 확인
  • ./gradlew build --no-daemon 전체 통과

@github-actions github-actions Bot merged commit 35f8beb into developV2 Apr 24, 2026
2 checks passed
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
62.5% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

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