Skip to content

Conversation

@bingle625
Copy link
Contributor

@bingle625 bingle625 commented Dec 23, 2025

🚩 관련사항

성능 테스트를 위해서 user seed 코드를 추가합니다.

📢 전달사항

  • 학적인증까지 마친 상태의 user가 추가되도록 구현했습니다.
  • board 초기정보를 넣었을 때, 로그인 되는지까지 확인했습니다.
  • 로컬에서 테스트하기 위해서 다음과 같이 수정해야합니다.
    • profile을 seed로 설정
    • application-local.yml 파일을 복사한 application-seed.yml 파일 생성
    • logback-spring.yml 파일에 아래 내용 복붙 (로그 확인을 위해 필요합니다.)
 <springProfile name="seed">
        <root level="INFO">
            <appender-ref ref="CONSOLE"/>
        </root>
    </springProfile>

📸 스크린샷

image image image image

📃 진행사항

  • 유저 및 학적인증 정보 시더 작성
  • 로컬 테스트

⚙️ 기타사항

  • postSeeder PR과 설정 내용을 통일해야합니다.

개발기간:

- 학적인증까지 마친 상태의 user가 추가되도록 구현했습니다.
@bingle625 bingle625 self-assigned this Dec 23, 2025
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @bingle625, 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은 성능 테스트를 위한 사용자 시드 데이터를 생성하는 기능을 도입합니다. 이 기능은 애플리케이션 시작 시 "seed" 프로파일이 활성화될 때 실행되며, 학적 인증이 완료된 상태의 가상 사용자들을 대량으로 생성하여 테스트 환경을 신속하게 구축할 수 있도록 돕습니다.

Highlights

  • 사용자 시더 추가: 성능 테스트를 위해 대량의 사용자 데이터를 생성하는 시더 기능이 추가되었습니다.
  • 학적 인증 완료 사용자 생성: 생성되는 사용자들은 학적 인증까지 완료된 상태로 설정되어, 테스트 환경 구축을 간소화합니다.
  • UserRepository 변경: 사용자 존재 여부를 확인하는 existsBy() 메서드가 UserRepository 인터페이스에 추가되었습니다.
  • 배치 처리 지원: 대량의 데이터를 효율적으로 처리하기 위해 사용자 생성 시 배치 처리가 적용되었습니다.

🧠 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.

@github-actions
Copy link

github-actions bot commented Dec 23, 2025

Test Results Summary

 54 files   54 suites   14s ⏱️
250 tests 250 ✅ 0 💤 0 ❌
288 runs  288 ✅ 0 💤 0 ❌

Results for commit 4247a2e.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Dec 23, 2025

Migration Result 📦

Status Count
✅ Success 27
❌ Failed 0
⏳ Pending 0

Schema Validation Result 🔍

✅ No schema mismatches detected.

Results for commit 4247a2e

♻️ This comment has been updated with latest results.

Copy link
Contributor

@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

성능 테스트를 위한 사용자 시드(seed) 코드가 추가되었습니다. 코드의 안정성, 유지보수성, 가독성 향상을 위해 몇 가지 개선점을 제안합니다. 주요 내용은 불필요한 Repository 메소드 제거, 예외 처리 강화, 데이터 생성 로직 오류 수정, 로깅 방식 개선, 매직 넘버 상수화, 긴 메소드 분리 등입니다.

…er.java

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@github-actions
Copy link

Spotless Check Failed

코드 포맷팅이 올바르지 않습니다. 다음 명령어를 실행하여 자동으로 수정하세요:

./gradlew spotlessApply

그 후 변경사항을 커밋하고 푸시해주세요.

@github-actions
Copy link

Spotless Check Failed

코드 포맷팅이 올바르지 않습니다. 다음 명령어를 실행하여 자동으로 수정하세요:

./gradlew spotlessApply

그 후 변경사항을 커밋하고 푸시해주세요.

@github-actions
Copy link

Spotless Check Failed

코드 포맷팅이 올바르지 않습니다. 다음 명령어를 실행하여 자동으로 수정하세요:

./gradlew spotlessApply

그 후 변경사항을 커밋하고 푸시해주세요.

@hyoinkang hyoinkang mentioned this pull request Dec 23, 2025
@github-actions
Copy link

Spotless Check Failed

코드 포맷팅이 올바르지 않습니다. 다음 명령어를 실행하여 자동으로 수정하세요:

./gradlew spotlessApply

그 후 변경사항을 커밋하고 푸시해주세요.

@bingle625 bingle625 marked this pull request as ready for review January 4, 2026 09:15
@bingle625 bingle625 force-pushed the chore/#1019/user-seed branch from 642c725 to f34b885 Compare January 4, 2026 09:16
@bingle625 bingle625 added the D-1 label Jan 4, 2026
Copy link
Contributor

@hyoinkang hyoinkang left a comment

Choose a reason for hiding this comment

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

수고하셨습니다👍 PostSeeder 돌리면서 해당 코드 잘 돌아가는 것 로컬에서 확인 완료하였습니다.
Seeder 합치는 건 먼저 PR 머지해주시면 CommandLineRunner에 Order 어노테이션 붙여서 처리하겠습니다. 반대로 해도 상관없구요~

P5: PR 본문에서 말씀해주신 환경 관련된 부분은 include로 프로필 붙이는 게 application-local.yml 바탕으로 application-seed.yml 에 추가로 덮어쓰거나 붙일 내용 있으면 반영하는 거라서 사실상 동일한 환경으로 봐도 무방할 것 같습니다.

@github-actions github-actions bot added D-0 and removed D-1 labels Jan 5, 2026
@bingle625 bingle625 merged commit 9f587c8 into dev Jan 5, 2026
6 checks passed
@bingle625 bingle625 deleted the chore/#1019/user-seed branch January 5, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants