Skip to content

Community 대용량 로그·압축파일 업로드 환경 개선 - #79

Open
dhslove wants to merge 7 commits into
ablecloud-team:mainfrom
dhslove:agent/issue-72-large-uploads
Open

Community 대용량 로그·압축파일 업로드 환경 개선#79
dhslove wants to merge 7 commits into
ablecloud-team:mainfrom
dhslove:agent/issue-72-large-uploads

Conversation

@dhslove

@dhslove dhslove commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

개요

Issue #72의 Community 대용량 로그·압축파일 업로드 개선을 구현하고 운영 환경까지 검증했습니다.

Closes #72

주요 변경

  • Community, Poller, AI Gateway의 파일당 상한을 50 MiB로 정렬
  • 압축 해제 100 MiB, 100개 항목, 압축비 20배 제한 적용
  • ZIP/GZIP/TAR.GZ MIME 정규화와 동일 출처·bounded read·120초·2회 재시도 적용
  • 경로 침범, 중첩 압축, 압축 폭탄, 실행 파일, MIME 위장 차단
  • 24시간 보존, 15분 정리, 디스크 70% 경고·85% 위험 유지관리 서비스 추가
  • Flarum 적용·검증·롤백 스크립트와 운영 Runbook 추가
  • MD/PDF 보고서와 PPTX/PDF 발표자료 및 구조화 증적 추가

검증 결과

  • 전체 AI Gateway 런타임 회귀시험: 259/259 PASS
  • WSL Ubuntu 24.04 적용·검증·롤백·재적용: PASS
  • Flarum 50 MiB: HTTP 200, 50 MiB + 1 byte: HTTP 422
  • Gateway 50 MiB: HTTP 201, 50 MiB + 1 byte: HTTP 400
  • Community 실제 Discussion에서 일반 로그·ZIP·GZIP·TAR.GZ 4종 수집 및 AI 답변 자동 게시: PASS
  • 시험 Discussion·업로드 영구 삭제 및 DB 잔존 0건 확인
  • Gateway/Poller/Maintainer 정상, Maintainer restart 0
  • PPTX 넘침 검사, PDF 전 페이지 시각검사, 비밀정보 검사: PASS

운영 반영

  • Flarum 1.8.18 / FoF Upload 1.8.5에 업로드 정책 적용
  • TechFlow AI Gateway, Community Poller, Artifact Maintainer 반영
  • DB 스키마 변경 없음
  • 운영 백업과 롤백 경로를 Runbook에 기록

보호 범위

  • PR #65는 수정·병합·상태 변경하지 않았습니다.
  • GitHub→Chat github-chat-v1 서비스는 변경하지 않았으며 frozen guard 통과를 확인했습니다.

검토 포인트

  • 파일당 50 MiB 및 압축 해제 100 MiB 정책
  • 허용 MIME과 위험 압축 거부 정책
  • 24시간 보존 및 70%/85% 디스크 경보 기준
  • 운영 적용·검증·롤백 절차와 증적

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

Community 대용량 첨부 및 로그 압축 업로드 환경 개선

1 participant