Skip to content

develop -> main#655

Merged
JanooGwan merged 8 commits into
mainfrom
develop
May 29, 2026
Merged

develop -> main#655
JanooGwan merged 8 commits into
mainfrom
develop

Conversation

@JanooGwan
Copy link
Copy Markdown
Contributor

🔍 개요


🚀 주요 변경 내용


💬 참고 사항


✅ Checklist (완료 조건)

  • 코드 스타일 가이드 준수
  • 테스트 코드 포함됨
  • Reviewers / Assignees / Labels 지정 완료
  • 보안 및 민감 정보 검증 (API 키, 환경 변수, 개인정보 등)

JanooGwan and others added 8 commits May 28, 2026 23:50
feat: 대학 검색 초성 및 약칭 지원
- 웹사이트에서 로그인 전에도 이미지를 업로드할 수 있도록 업로드 엔드포인트를 공개 API로 전환
- 공개 API 처리 중 사용자 ID 인자 리졸버가 다시 토큰 누락 오류를 만들지 않도록 인증 의존 인자를 제거
- 사용자 기준 rate limit은 비로그인 요청 키 정책이 정해지기 전까지 제거해 공개 호출 전환 범위를 명확히 유지
- 로그인 mock 없이 업로드 성공을 검증해 비로그인 업로드 계약의 회귀를 방지
* fix: 웹사이트 대학 검색 초성 및 약칭 적용

* docs: 웹사이트 대학 검색 필터링 의도 주석 추가
- 이모지는 기획상 수정 대상이 아니므로 수정 요청 DTO와 알림 payload에서 제외
- 수정 요청 저장 시 이모지 값을 요구하지 않도록 엔티티와 서비스 흐름을 정리
- 기존 수정 요청 테이블의 이모지 컬럼을 후속 마이그레이션으로 제거해 저장 실패를 방지
* fix: 업로드 시간당 총량 제한 적용

- 비로그인 공개 업로드가 특정 속도로 무제한 지속되지 않도록 IP 기준 시간당 60회 제한을 적용
- 기존 Redis 기반 rate limit을 재사용해 별도 인프라 정책 없이 API 계약에서 429 응답을 보장
- 프록시가 복원한 클라이언트 IP를 기준으로 제한 키를 만들도록 요청 객체를 컨트롤러 인자로 전달
- 같은 IP의 61번째 업로드가 차단되는 통합 테스트로 시간당 총량 제한 회귀를 방지

* fix: 업로드 제한 키를 AOP 요청 컨텍스트로 분리

- 공개 업로드 API 계약에 사용하지 않는 request 인자가 노출되지 않도록 컨트롤러 시그니처를 정리
- rate limit SpEL에서 현재 요청 IP를 직접 참조할 수 있도록 clientIp 변수를 AOP 컨텍스트에 제공
- 업로드 시간당 제한은 유지하면서 API 입력은 실제 요청 파트와 target만 드러나도록 선택
- clientIp 표현식이 현재 요청의 remoteAddr로 Redis 키를 만드는 단위 테스트를 추가해 회귀를 방지
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 29, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: f7841496-486f-4649-966b-228c64885a57

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

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.

@JanooGwan JanooGwan added DB DB 마이그레이션을 위한 라벨입니다. 배포 운영 서버의 배포 관련 이슈입니다. labels May 29, 2026
@github-actions
Copy link
Copy Markdown

🧪 JaCoCo Coverage Report (Changed Files)

Summary

  • Overall Coverage: 89.0% ✅
  • Covered Lines: 300 / 337
  • Changed Files: 18

Coverage by File

Class Coverage Lines Status
SlackNotificationService
gg.agit.konect.infrastructure.slack.service
58.5% 31/53 ⚠️
RateLimitAspect
gg.agit.konect.global.ratelimit.aspect
78.4% 40/51
UniversitySearchMatcher
gg.agit.konect.domain.university.service
95.7% 89/93
WebsiteService
gg.agit.konect.domain.website.service
100.0% 31/31
ClubInformationUpdateRequestedEvent
gg.agit.konect.domain.club.event
100.0% 20/20
UploadController
gg.agit.konect.domain.upload.controller
100.0% 1/1
SlackMessageTemplate
gg.agit.konect.infrastructure.slack.enums
100.0% 12/12
ClubRegistrationRequestSlackListener
gg.agit.konect.infrastructure.slack.listener
100.0% 37/37
ClubRegistrationRequestService
gg.agit.konect.domain.club.service
100.0% 32/32
UniversityService
gg.agit.konect.domain.university.service
100.0% 5/5
UniversityController
gg.agit.konect.domain.university.controller
100.0% 2/2

📊 View Workflow Run

@JanooGwan JanooGwan merged commit bc7f97c into main May 29, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DB DB 마이그레이션을 위한 라벨입니다. 배포 운영 서버의 배포 관련 이슈입니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants