Skip to content

[Fix] 문서 업로드 용량 제한 및 오류 안내 개선 - #244

Merged
Gimini-3 merged 1 commit into
developfrom
fix/243
Aug 20, 2026
Merged

[Fix] 문서 업로드 용량 제한 및 오류 안내 개선#244
Gimini-3 merged 1 commit into
developfrom
fix/243

Conversation

@Gimini-3

Copy link
Copy Markdown
Contributor

🔍️ 작업 내용

✨ 상세 설명

  • Spring multipart 최대 파일 크기를 20MB로, 최대 요청 크기를 25MB로 변경했습니다.
  • 도메인 파일 검증 기본 제한도 20MB로 정렬했습니다.
  • Vinext가 Route Handler보다 먼저 검사하는 multipart 요청 제한을 25MB로 설정했습니다.
  • 백엔드 파일 크기 초과 메시지와 프록시 413 대체 메시지를 파일 용량이 큽니다.로 통일했습니다.

검증

  • ./gradlew test --tests com.opensource.docgrid.domain.document.service.FileValidationServiceTest 통과
  • npm test 통과: 프런트 빌드 및 테스트 17개
  • 수정한 프런트 파일 ESLint 통과: app/lib/api.ts, next.config.ts
  • 전체 npm run lint는 최신 develop의 기존 useRagAnswerSocket.ts:22 오류로 실패하며, 해당 파일은 이 PR에서 변경하지 않았습니다.

🛠️ 추후 리팩토링 및 고도화 계획

  • 없음

📸 스크린샷 (선택)

  • 설정 및 오류 처리 변경으로 별도 스크린샷 없음

💬 리뷰 요구사항

  • 파일 제한 20MB와 multipart 요청 제한 25MB의 여유 폭이 적절한지 확인 부탁드립니다.
  • 백엔드 이전 계층에서 발생하는 413도 동일한 사용자 메시지로 변환되는지 확인 부탁드립니다.

@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: deaee0cc-e917-479f-9d35-4c99042c4c78


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.

@Gimini-3
Gimini-3 marked this pull request as ready for review August 20, 2026 07:43
@Gimini-3
Gimini-3 merged commit 9f74b61 into develop Aug 20, 2026
1 check passed
@Gimini-3 Gimini-3 self-assigned this Aug 20, 2026
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.

[Fix] 문서 업로드 용량 제한 및 오류 안내 개선

1 participant