Skip to content

(fix) : 토큰 만료 응답과 정산 멤버 수 조회 수정#49

Merged
sudhdkso merged 1 commit into
developfrom
fix/member-count
May 10, 2026
Merged

(fix) : 토큰 만료 응답과 정산 멤버 수 조회 수정#49
sudhdkso merged 1 commit into
developfrom
fix/member-count

Conversation

@sudhdkso
Copy link
Copy Markdown
Contributor

#️⃣연관된 이슈

X

🔀반영 브랜치

fix/member-count -> develop

🔧변경 사항

  • 만료된 JWT가 들어온 경우 401토큰이 만료되었습니다. 메시지를 JSON으로 내려주도록 수정했습니다.
  • JWT 필터에서 인증 실패 시 SecurityContext를 정리하고 요청 체인을 중단하도록 처리했습니다.
  • 정산 목록 조회에서 내 멤버 row와 전체 참여자 집계용 멤버 row를 분리했습니다.
  • totalMemberCount, 완료 인원 집계가 현재 사용자 기준이 아니라 전체 정산 멤버 기준으로 계산되도록 수정했습니다.
  • JWT 만료 응답 테스트를 추가했습니다.

💬리뷰 요구사항(선택)

X

✅체크

  • 테스트 코드 포함 여부: 포함
  • 불필요한 로그 제거: 해당 없음
  • 예외 처리 여부: 포함

🧪검증

  • ./gradlew --no-daemon test --tests com.dnd.moddo.domain.auth.service.JwtFilterTest --tests com.dnd.moddo.domain.settlement.controller.SettlementControllerTest

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 10, 2026

Warning

Rate limit exceeded

@sudhdkso has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 46 minutes and 47 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 0898fc3f-3376-4705-a82a-84f333157dc5

📥 Commits

Reviewing files that changed from the base of the PR and between 3f4bd3a and e7d074b.

📒 Files selected for processing (4)
  • src/main/java/com/dnd/moddo/auth/infrastructure/security/JwtFilter.java
  • src/main/java/com/dnd/moddo/common/config/SecurityConfig.java
  • src/main/java/com/dnd/moddo/event/infrastructure/SettlementQueryRepositoryImpl.java
  • src/test/java/com/dnd/moddo/domain/auth/service/JwtFilterTest.java
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/member-count

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

📝 테스트 커버리지 리포트입니다!

There is no coverage information present for the Files changed

Total Project Coverage 70.35%

@sudhdkso sudhdkso marked this pull request as ready for review May 10, 2026 03:49
@sudhdkso sudhdkso merged commit 8cad24f into develop May 10, 2026
2 of 3 checks passed
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