Skip to content

release: 0.6.0 프로덕션 신뢰성 강화 - #20

Merged
emfpdlzj merged 5 commits into
mainfrom
release/0.6.0-production-confidence
Aug 23, 2026
Merged

release: 0.6.0 프로덕션 신뢰성 강화#20
emfpdlzj merged 5 commits into
mainfrom
release/0.6.0-production-confidence

Conversation

@emfpdlzj

Copy link
Copy Markdown
Owner

요약

  • 운영 배포 전에 잘못된 프로브 설정을 더 엄격하게 검증합니다.
  • PostgreSQL, Redis, Celery, MinIO 기반 실백엔드 통합 검증을 추가합니다.
  • Django 6.1 지원과 품질 자동화, 의존성 및 GitHub Actions를 최신화합니다.
  • 운영, 패키지 비교, 기여 문서를 확장하고 버전을 0.6.0으로 올립니다.

변경 배경

문서에서 지원한다고 밝힌 운영 백엔드와 실제 CI 검증 범위를 일치시키고, 런타임에 도달하던 잘못된 설정을 배포 전 Django 시스템 체크에서 차단할 필요가 있었습니다. 또한 최신 Django 6.1과 누적된 의존성 업데이트를 반영하면서 품질 기준과 오픈소스 참여 경로를 명확히 하고자 했습니다.

변경 내용

  • 실행 경로와 시스템 체크의 중첩 설정 병합 로직 통일
  • 중복 check, 잘못된 alias와 타입, 빈 Celery operation, OpenAPI 의존성 검증
  • custom check가 REQUIRE_READY_CHECKS 및 REQUIRE_STARTUP_CHECKS를 충족하도록 판정 수정
  • PostgreSQL DB 및 migration 통합 테스트
  • MinIO 기반 S3 storage exists/write 통합 테스트
  • Redis 기반 Celery broker 및 result backend 통합 테스트
  • Django 6.1 호환성 매트릭스 추가
  • 커버리지 90% 하한과 명시적 Ruff 규칙 설정
  • 자동 의존성 업데이트 그룹화 및 GitHub Actions 최신화
  • 운영 체크리스트, 장애 훈련, 패키지 비교, 기여 가이드 추가
  • 패키지 버전 및 모든 정확 버전 예제를 0.6.0으로 정렬

영향 범위

  • 정상 설정의 endpoint payload, HTTP status, CLI exit code는 변경되지 않습니다.
  • 기존에 잘못됐지만 통과하던 설정은 manage.py check 및 deploy_probes 실행 시 오류가 됩니다.
  • ENABLE_OPENAPI=True이면 openapi extra 설치가 필요합니다.
  • celery check 사용 시 BROKER, WORKERS, RESULT_BACKEND 중 하나 이상을 활성화해야 합니다.
  • 지원 범위에 Django 6.1이 추가됩니다.

테스트

  • Ruff 검사 및 포맷 검사 통과
  • Django 6.1에서 전체 157개 테스트 통과
  • branch coverage 93.33%, 최소 기준 90% 충족
  • PostgreSQL, Redis, Celery, MinIO 실백엔드 통합 테스트 통과
  • MkDocs strict 빌드 통과
  • sdist 및 wheel 빌드 통과
  • 격리 환경에서 0.6.0 wheel 설치 및 import 확인

리뷰포인트

  • 강화된 설정 검증이 유효한 기존 구성까지 제한하지 않는지
  • 운영 백엔드 통합 테스트의 실패 조건과 자원 정리가 충분한지
  • 공개 응답 및 보안 기본값이 이전 버전과 호환되는지
  • 업그레이드 주의사항과 운영 문서가 실제 배포 절차를 충분히 설명하는지

@gitguardian

gitguardian Bot commented Aug 23, 2026

Copy link
Copy Markdown

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@emfpdlzj
emfpdlzj force-pushed the release/0.6.0-production-confidence branch from e53c9bd to a340682 Compare August 23, 2026 23:37
@emfpdlzj
emfpdlzj force-pushed the release/0.6.0-production-confidence branch from a340682 to 2e3554a Compare August 23, 2026 23:38
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 86.86869% with 13 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
django_deploy_probes/django_checks.py 85.71% 7 Missing and 6 partials ⚠️

📢 Thoughts on this report? Let us know!

@emfpdlzj
emfpdlzj merged commit 9d5e835 into main Aug 23, 2026
17 checks passed
@emfpdlzj
emfpdlzj deleted the release/0.6.0-production-confidence branch August 23, 2026 23:40
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.

2 participants