인라인 첨부 공통 헬퍼 — inline_attachment_helper.py

상태 DONE
담당 ([])
팀 dev
생성일 2026-05-04T13:49:14
마감일 미정
출처 wbs_parser
생성자 wbs_parser

의사결정

Critic APPROVED: 모든 섹션 PASS. inline_attachment_helper.py 구현 완료.

내용

process_inline_attachments(conn, entity, mail_api_id, db_mail_id, attachments, body_html) 함수 구현. attachmentId<0인 첨부를 Naver Works API로 fetch하여 uploads/mail/inline/{db_mail_id}/{filename}에 저장. mail_attachments INSERT (is_inline=True, cid_reference). body_html의 src='cid:{cid}' → src='/uploads/mail/inline/{db_mail_id}/{filename}' 교체 후 반환. 4xx 실패 시 skip+로그+nw://inline-unfetched 메타 저장.

상태 변경

추가 작업

핸드오프 체인

1. 2026-05-04T22:49 wbs_parser → BE "sub-ticket 생성 (parent=OPS-0505-MAIL-INLINE-CONTENT, status=BLOCKED)"

체이닝 타임라인

# From → To 작업 체인 상태 시작 완료
1858 coordinator → QA qa_review 1 completed 2026-05-04T14:31:34 -
1859 coordinator → BE critic_review 1 completed 2026-05-04T14:39:54 -
1864 BE → CC critic_gate 1 completed 2026-05-04T15:09:51 2026-05-04T15:09:51

산출물

아직 산출물이 없습니다

관련 로그

관련 봇 로그 없음

위험 구역