theorose49 c865baccd2
All checks were successful
build-and-push / build (push) Successful in 33s
feat(mail): DB 저장 + 주기 동기화 + 전체 히스토리 수집 + 메일 숨김
- ProjectMailMsg(헤더 저장)·ProjectMailState(동기화 상태) 모델, AutoMigrate 등록
- mailsync.FetchForDomain: nextPageToken 따라 전체 히스토리 페이지네이션(maxPerBox=0=전부)
- 백그라운드 주기 동기화 StartMailSyncLoop(MAIL_SYNC_INTERVAL 기본 15m, 0=비활성)
  · 미동기화 프로젝트=full 백필, 이후=최신 페이지 top-up
- GET /mails는 DB에서 읽어 참여자(from/to/cc) 필터 + 공동 메모 인라인 결합 + lastSyncedAt
- POST /mails/sync(강제 풀싱크), PUT /mail-hide(프로젝트 단위 숨김)
- mailCache 제거(DB가 캐시), config MailSyncInterval

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 12:44:31 +09:00

spin-backend

배포: infra repomanifests/apps/internal/spin-backend/ → ArgoCD ApplicationSet appsinternal ns.

CI

master 또는 main push → Gitea Actions 가 image build + push (:<sha> + :latest) → git.special-partners.com/admin/spin-backend.

빌드 결과는 자동 배포됩니다 — ArgoCD Image Updater 가 :latest digest 변화를 추적해 infra repo 에 digest 를 write-back 하고 ArgoCD 가 새 이미지로 sync 합니다. (kubectl set image 불필요)

필요 repo secrets (Settings → Actions → Secrets and Variables)

환경 변수

.env.sample 참고. 클러스터에선 K8s Secret/value로 자동 주입.

컨테이너 port

8080 (Dockerfile EXPOSE). 변경 시 deployment.yaml의 containerPort 같이 수정.

Description
No description provided
Readme 340 KiB
Languages
Go 99.7%
Dockerfile 0.3%