Skip to content

feat: 던전 타입별 진행도 및 최고 기록 추적 기능 추가 - #32

Merged
Sean-mn merged 9 commits into
developfrom
feat/dungeon-type-progress
Jul 2, 2026
Merged

Sean-mn merged 9 commits into
developfrom
feat/dungeon-type-progress

Conversation

@Sean-mn

@Sean-mn Sean-mn commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

📚작업 내용

  • PlayerDungeonProgress 엔티티 추가 (던전 타입별 HighestClearedStage / HighScore / LastClearedAt 추적) 및 마이그레이션 생성
  • IPlayerDungeonProgressRepository / PlayerDungeonProgressRepository 추가 및 DI 등록, AppDbContext DbSet 등록
  • 무기 던전에 독립 진행도 적용: 기본 던전 maxStage와 무관하게 스테이지 1부터 진행, 클리어 시 +1
  • 보스 던전에 독립 진행도 적용: 클리어 시 진행도 갱신
  • 골드 던전 claim에 HighScore(역대 최고 획득 골드) 갱신 로직 추가, 멱등 재호출 시 저장된 기록 반환
  • 응답 DTO에 진행도/최고 기록 필드 추가 (HighestClearedStage, HighScore)
  • 클라이언트 연동 가이드 갱신 및 계획/설계 문서 추가

◀️참고 사항

  • 무기/보스 던전 진행도는 신규·기존 유저 모두 스테이지 1부터 독립적으로 시작합니다(백필 없음, 지연 생성).
  • 골드 던전 HighScore는 이번 획득 골드가 기존 기록을 넘을 때만 갱신됩니다.
  • 마이그레이션 파일만 생성된 상태이며 DB 적용은 별도로 필요합니다.

✅체크리스트

[ ]안에 x를 작성하면 체크박스를 체크할 수 있습니다.

  • 현재 의도하고자 하는 기능이 정상적으로 작동하나요?
  • 변경한 기능이 다른 기능을 깨뜨리지 않나요?

추후 필요한 체크리스트는 업데이트 될 예정입니다.

@Sean-mn Sean-mn added the enhancement:개선사항 New feature or request label Jul 2, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces independent dungeon progress tracking by adding the PlayerDungeonProgress entity, repository, and database migrations. It updates the Boss, Weapon, and Gold dungeon services to track and return HighestClearedStage or HighScore independently of the main stage progress. A critical issue was identified in PlayerDungeonProgressRepository where the use of AsNoTracking() when retrieving progress records will cause the xmin concurrency token to be lost, leading to persistent concurrency exceptions during updates.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@Sean-mn
Sean-mn merged commit 5e4ed1d into develop Jul 2, 2026
4 checks passed
@Sean-mn
Sean-mn deleted the feat/dungeon-type-progress branch July 2, 2026 05:06
@Sean-mn Sean-mn mentioned this pull request Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement:개선사항 New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant