Skip to content

최초 요약 생성 실패 시 수동 재요청 API 구현#206

Merged
ckdals4600 merged 1 commit intomainfrom
feature/#205-retry-summarize
Mar 29, 2026
Merged

최초 요약 생성 실패 시 수동 재요청 API 구현#206
ckdals4600 merged 1 commit intomainfrom
feature/#205-retry-summarize

Conversation

@ckdals4600
Copy link
Copy Markdown
Contributor

관련 이슈

PR 설명

  • Endpoint: POST /v1/links/{id}/retry-summary

비즈니스 로직

  • LinkService:
    • getLinkWithFailedSummary: 대상 링크의 상태가 실제로 FAILED인지 검증하는 방어 로직 추가함. FAILED가 아닐 경우 예외(INVALID_SUMMARY_STATUS_FOR_RETRY)를 발생시켜 중복/잘못된 요청을 차단함.
    • resetSummaryStatusForRetry: 요약 재시도를 위해 링크의 SummaryStatus를 다시 대기 상태(PENDING)로 롤백함.
  • LinkFacade: 상태 갱신 후, AI 요약 큐에 작업을 다시 적재하기 위해 LinkCreatedEvent를 재발행(Publish)하는 로직 적용함.

@ckdals4600 ckdals4600 linked an issue Mar 21, 2026 that may be closed by this pull request
@ckdals4600 ckdals4600 requested review from Goder-0 and minibr March 21, 2026 01:38
@ckdals4600 ckdals4600 self-assigned this Mar 21, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 21, 2026

📊 코드 커버리지 리포트

Overall Project 93.32% 🍏
Files changed 100% 🍏

File Coverage
LinkController.java 100% 🍏
LinkErrorCode.java 100% 🍏
LinkFacade.java 100% 🍏
LinkCommandService.java 100% 🍏
LinkService.java 100% 🍏

@ckdals4600 ckdals4600 force-pushed the feature/#205-retry-summarize branch from 23c6e67 to 3426a69 Compare March 23, 2026 07:42
@ckdals4600 ckdals4600 force-pushed the feature/#205-retry-summarize branch 2 times, most recently from fb8598a to b0b58bf Compare March 29, 2026 12:11
@ckdals4600 ckdals4600 force-pushed the feature/#205-retry-summarize branch from b0b58bf to cecb757 Compare March 29, 2026 12:15
@ckdals4600 ckdals4600 merged commit f513cbe into main Mar 29, 2026
1 check passed
@ckdals4600 ckdals4600 deleted the feature/#205-retry-summarize branch March 29, 2026 12:27
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.

최초 요약 생성 실패 시 수동 재요청 API 개발

2 participants