Skip to content

hotfix: dev Django 실행 환경 복원 - #755

Merged
Neibce merged 1 commit into
developfrom
fix/dev-django-runtime
Aug 10, 2026
Merged

hotfix: dev Django 실행 환경 복원#755
Neibce merged 1 commit into
developfrom
fix/dev-django-runtime

Conversation

@Neibce

@Neibce Neibce commented Aug 10, 2026

Copy link
Copy Markdown
Member

Changelog

  • dev Kubernetes에서 Django local 설정 전환을 제거해 /data PVC 경로 사용 복원

Testing

  • dev backend/celery/beat의 OJ_ENV 미지정 및 관측 환경 라벨 유지 확인

Ops Impact

  • dev overlay 재적용 시 backend/celery 재시작
  • DB 마이그레이션 없음

Version Compatibility

  • N/A

@Neibce
Neibce merged commit 753292f into develop Aug 10, 2026
6 checks passed
@Neibce
Neibce deleted the fix/dev-django-runtime branch August 10, 2026 11:37

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cfa8ef2dfd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 10 to 11
env:
- name: OJ_ENV
value: "dev"
- name: CSRF_TRUSTED_ORIGINS

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the guide after switching dev to production mode

After this removal, the dev deployment inherits OJ_ENV=production from backend/Dockerfile:6, causing backend/oj/settings.py:21-25 to load production settings. However, docs/content/developer/infra/observability-improvement-plan/_index.md:80 still explicitly states that the dev overlay fixes OJ_ENV=dev. This now documents the opposite runtime contract and could lead an operator or future change to restore the setting that broke the /data path; update the guide to describe the inherited production Django mode while retaining the separate dev telemetry labels.

Useful? React with 👍 / 👎.

Neibce added a commit that referenced this pull request Aug 10, 2026
@taekoong taekoong mentioned this pull request Sep 1, 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.

1 participant