Repository navigation
feat: LLM 선택 미션 생성 및 Outbox 전송 파이프라인 안정화 (V4) #173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
daa9739
docs: Outbox 폴러 V1→V2→V3 발전 과정 문서화
heeun98 16405e6
refactor: 전역 피드 캐시를 TTL+분산락에서 상주 캐시+스케줄러 동기화로 전환
heeun98 5d72dc2
docs: 전역 피드 v2 전체 흐름 다이어그램 추가 (6-1장)
heeun98 27f1cbc
fix: Lettuce 커맨드 타임아웃 1초 설정 (기본 60초 → 장애 시 요청 스레드 블로킹 방지)
heeun98 78f50eb
refactor: 리스너가 outbox 저장 payload를 직접 전송하도록 변경 (payload 생성 로직 중복 제거)
heeun98 65458b2
perf: outbox에 (status, created_at) 복합 인덱스 추가 — claim 쿼리 락 범위 최소화
heeun98 90653d5
feat: outbox 폴러 V4 — 삭제 대신 SENT/FAILED 마킹 + next_retry_at 백오프 재시도
heeun98 8ad8ef0
fix: AdminClient 실패 분류를 상태코드 기준으로 재정의 — 408·429 오분류 수정
heeun98 bdd9b89
fix: 미션 로그 멱등 저장 시 동시 중복이 500으로 응답되던 버그 수정
heeun98 e0a0eaf
refactor: 미션 완료 리스너의 null 가드를 Optional 체이닝으로 정리
heeun98 561006b
chore: API 서버 IP 변경 반영 — RestClient fallback URL 갱신
heeun98 96e323b
refactor: SendResult를 성공/실패 2분류로 단순화 — 일시/영구 구분 제거
heeun98 30d7aa6
feat: 미션 로그에 completedDate 추가 — 집계 기준을 도착 시각에서 완료 날짜로
heeun98 bcd15b3
feat: outbox 재시도 상한을 15회에서 3회로 하향 (백오프 5+10+15분, 총 30분 커버)
heeun98 a236671
refactor: 폴러를 배수 루프에서 짧은 주기 + 호출당 한 배치 구조로 전환
heeun98 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Performance & Scalability | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: depromeet/18th-team5-server
Length of output: 7137
🏁 Script executed:
Repository: depromeet/18th-team5-server
Length of output: 32656
L1 로컬 캐시의 구현 범위를 맞춰 주세요.
이 문서의 결정 로그(line 43)는 L1 로컬 캐시를 필수 장치로 정의합니다. 현재
GlobalFeedService#getRecentFeed는feedCacheRepository.findRecent()로 Redis/메모리 계층만 사용하고,@Cacheable, Caffeine/Guava,LoadingCache, 인메모리Map같은 전역 피드용 L1 조회 경로는 없습니다. L1이 이번 범위에 포함된다면 서비스/리포지토리 계층에 추가하고, 포함되지 않는다면 해당 문서 필수 요구사항을 정리해 주세요. 참고: 전역 hot key는 Redis/DB가 아니라 애플리케이션 내부 로컬 캐시부터 흡수해야 합니다. :)🤖 Prompt for AI Agents