Skip to content

feat: GPU 표지 생성 워커 중계 MVP - #1

Merged
tpals0409 merged 2 commits into
mainfrom
feat/gpu-cover-worker-mvp
Aug 4, 2026
Merged

feat: GPU 표지 생성 워커 중계 MVP#1
tpals0409 merged 2 commits into
mainfrom
feat/gpu-cover-worker-mvp

Conversation

@tpals0409

Copy link
Copy Markdown

요약

  • Frontend 요청당 6개 화풍 작업 생성
  • NAT 뒤 GPU 워커용 long-poll claim/result/fail 계약 구현
  • SQLite 영속 큐, 원자적 claim, 좀비 잡 회수
  • multipart WebP 결과 저장 및 /image/files 공개 URL 지원
  • Worker Bearer Token, non-root 컨테이너, GHCR SHA 이미지 CI

검증

RED

  • 명세 계약 테스트 전환 후: 8 failed, 5 passed (exit 1)

GREEN

  • .venv/bin/python -m pytest -q: 18 passed in 1.51s (exit 0)

Regression

  • .venv/bin/python -m compileall -q app tests: exit 0
  • git diff --check: exit 0

배포 계약

  • SERVICE_URL=https://pin-log.com/image
  • 앱 내부 경로는 /api, /jobs, /files; Ingress에서 /image prefix 제거
  • 운영 Worker Token은 저장소에 포함하지 않음

@tpals0409
tpals0409 merged commit 8630846 into main Aug 4, 2026
2 checks passed
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