Skip to content

Conversation

@Muokok
Copy link
Member

@Muokok Muokok commented May 18, 2025

#️⃣ 연관된 이슈

#357

📝 작업 내용

  • 모임 생성, 매칭 완료 시 문자 알림 전송 확인
  • 운영용 인프라 테스트

📷 스크린샷 (선택)

💬 리뷰 요구사항 (선택)

holyPigeon and others added 30 commits May 2, 2025 12:50
Redis 호스트 설정 변경
비효율적인 엔티티 간 연관관계 개선
ahyeonkong and others added 25 commits May 15, 2025 17:21
관리자 전용 API 접근 권한 부여
CoolSms 환경 변수 추가
모임 이미지 예외처리
모임 기능 관련 상세한 예외처리 로직 추가
프로필 이미지 크기 초과 관련 예외처리 추가
닉네임 수정 시 중복 예외 처리
@Muokok Muokok requested a review from Copilot May 18, 2025 03:41
@Muokok Muokok self-assigned this May 18, 2025
@Muokok Muokok added 🌐 Infra 인프라 관련 🔨 Refactor 코드 리팩토링 labels May 18, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR aims to verify SMS notification delivery for meeting creation and matching while preparing for production operational tests. Key changes include:

  • Adapting refresh token persistence from a database to Redis
  • Enhancing JWT token generation and authentication flows via updated domain classes and services
  • Introducing admin functionality (initialization, login, and management) along with updated deployment scripts and CI/CD workflows

Reviewed Changes

Copilot reviewed 169 out of 169 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
RefreshTokenRepository.java Updated to use Redis (CrudRepository) and the new RefreshToken domain
LoginRequest.java, TokenType.java, RefreshToken.java New and updated DTO/Domain classes for authentication token handling
CustomMemberDetails.java, CustomMemberDetailsService.java Revised user detail loading logic with profile image lookup
TokenService.java, AdminService.java Updated token generation and admin authentication logic
AdminInitializer.java, AdminController.java, AdminApi.java Newly added admin endpoints and API definitions
Test.java, FestamateApplication.java Added Sentry testing endpoint and scheduling enablement
docker-compose-prod.yml, docker-compose-dev.yml Updated environment variables and service dependency configurations
.github/workflows/cd-prod.yml, cd-dev.yml Revised CI/CD workflows to include .env generation and deployment steps
README.md Updated project assets and documentation
Comments suppressed due to low confidence (1)

docker-compose-prod.yml:21

  • [nitpick] Ensure that the new service name 'redis-service' is consistently updated in all dependent configurations and scripts to avoid connection issues.
      - redis-service

Comment on lines +68 to +69
docker compose -f docker-compose-dev.yml build
docker compose -f docker-compose-dev.yml push
Copy link

Copilot AI May 18, 2025

Choose a reason for hiding this comment

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

The production CD workflow now uses docker-compose-dev.yml instead of the production compose file, which may lead to deployment mismatches. Please verify if this change is intentional.

Suggested change
docker compose -f docker-compose-dev.yml build
docker compose -f docker-compose-dev.yml push
docker compose -f docker-compose-prod.yml build
docker compose -f docker-compose-prod.yml push

Copilot uses AI. Check for mistakes.
public Map<String, String> loginAdmin(LoginRequest loginRequest) {

Member member = memberRepository.findByLoginId(loginRequest.getLoginId())
.orElseThrow(() -> new RuntimeException("사용자를 찾을 수 없습니다."));
Copy link

Copilot AI May 18, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider using a more specific exception type instead of RuntimeException for authentication failures to improve error handling and clarity.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌐 Infra 인프라 관련 🔨 Refactor 코드 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants