Skip to content

Conversation

@yongjun0511
Copy link
Collaborator

#️⃣ Issue Number

📝 요약(Summary)

  • customDetails에 deviceType이 추가되었습니다.
  • 또한, 로그에도 찍히게 됩니다.

💬 공유사항 to 리뷰어

✅ PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • 커밋 메시지 컨벤션에 맞게 작성했습니다.
  • 변경 사항에 대한 테스트를 했습니다.(버그 수정/기능에 대한 테스트).

@yongjun0511 yongjun0511 self-assigned this Dec 21, 2025
@yongjun0511 yongjun0511 added the feat 개발, 구현 label Dec 21, 2025
@yongjun0511 yongjun0511 linked an issue Dec 21, 2025 that may be closed by this pull request
@gemini-code-assist
Copy link

Summary of Changes

Hello @yongjun0511, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 애플리케이션의 인증 및 로깅 시스템에 DeviceType (예: iOS, Android) 정보를 통합합니다. 사용자 상세 정보, JWT 처리 및 OAuth 로그인 흐름을 수정하여 이 정보를 캡처하고 유지하도록 합니다. 또한, 컨트롤러 로그에 DeviceType이 포함되도록 하여 사용자 상호작용에 대한 더 상세한 통찰력을 제공합니다. V2 엔드포인트를 통해 처음 로그인하는 기존 사용자를 위해 DeviceType을 업데이트하는 마이그레이션 경로도 제공됩니다.

Highlights

  • 사용자 DeviceType 통합: CustomUserDetails 및 UserPrincipalDto에 DeviceType 필드를 추가하여 사용자 인증 정보에 기기 유형을 포함하도록 변경했습니다.
  • 로그에 DeviceType 추가: ControllerLogAspect를 수정하여 API 요청 로그에 사용자 ID와 함께 DeviceType을 기록하도록 했습니다.
  • 기존 사용자 DeviceType 마이그레이션: V2 OAuth 로그인 시 기존 사용자의 DeviceType이 null인 경우, 로그인 요청에서 받은 DeviceType으로 업데이트하는 로직을 추가했습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


로그 흐름 속 기기, 어떤 손에 들렸나, 정보가 쌓여가네.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

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

Choose a reason for hiding this comment

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

Code Review

안녕하세요. 이번 PR은 deviceType을 추가하여 로깅을 강화하고, 기존 사용자의 deviceType 정보를 마이그레이션하는 내용을 담고 있네요. 전반적으로 PR의 목적에 맞게 코드가 잘 작성되었습니다. 몇 가지 개선점을 제안드립니다. OAuthService에서 데이터베이스 업데이트가 누락될 수 있는 잠재적인 버그를 발견했으며, ControllerLogAspect에서는 코드 중복을 줄여 유지보수성을 높일 수 있는 부분을 확인했습니다. 또한, 코드 스타일에 대한 사소한 제안도 포함했습니다. 제안드린 내용들을 검토해보시고 반영해주시면 코드의 완성도가 더욱 높아질 것 같습니다.

@yongjun0511 yongjun0511 merged commit 0cc848a into develop Dec 21, 2025
@yongjun0511 yongjun0511 deleted the feat/#319-device-monitoring branch December 21, 2025 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat 개발, 구현

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: 기기 관련 정보 모니터링에 추가

2 participants