Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
검토 개요이 PR은 배포 인프라의 두 가지 측면을 개선합니다: 배포 후 Docker 이미지 정리 정책을 더욱 적극적으로 변경하고, 컨테이너 기본 이미지에서 pgvector를 소스 빌드에서 사전 컴파일된 apt 패키지로 전환합니다. 변경사항배포 인프라 최적화
관련 PR 목록
검토 예상 시간🎯 2 (Simple) | ⏱️ ~10 분
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
infra/Dockerfile: pgvector를 소스 빌드(build-essential/clang/llvm/git)에서 PGDG apt 패키지(postgresql-16-pgvector)로 교체 → db 이미지 3GB → ~900MB 예상deploy.yml:docker image prune에서--filter until=168h제거 → 배포 주기(~6일)가 필터(7일)보다 짧아 dangling 이미지가 누적되던 버그 수정배경
서버 디스크가 97%까지 차 SSH 속도 저하/불안정 발생. 진단 결과 dangling 이미지 22개(~6GB)가
/var/lib/containerd에 누적된 것이 원인. prune 필터 때문에 6일 전 이미지(144h)가 168h 기준에 안 걸려 계속 남아있었음.Summary by CodeRabbit