diff --git a/troubleshooting/251014_slack_lists_file_attachment.md b/troubleshooting/251014_slack_lists_file_attachment.md index 1032e90..dc9d32c 100644 --- a/troubleshooting/251014_slack_lists_file_attachment.md +++ b/troubleshooting/251014_slack_lists_file_attachment.md @@ -73,21 +73,22 @@ coldmail_briefing.py:207에서 document_id를 attachment에 전달하지만, Sla --- -## 테스트 완료 +## 구현 완료 +**커밋**: +- skill-rag-file: download.py 추가, main.py 라우터 등록 +- skill-slack: files.py 추가, __init__.py 라우터 등록 +- rb8001 (ee59bbe): coldmail_briefing.py:191-221, 241, 246 + +**테스트**: +- 1단계: GET /api/download/650c305b-e45a-4ff4-8bcb-87096f804605 → 200, 4.8MB PDF +- 2단계: POST /api/v1/files/upload (X-API-Key) → 200, file_id: F09LAQBBXU5 +- 3단계: POST /api/v1/lists/items → 200, item_id: Rec09KYQGBJKZ - 워크스페이스: T0925SXPS4D, 리스트: F09J1HPPQJG -- files_upload_v2(file, title) 성공 (channel 파라미터 불필요) -- attachment: [file_id] 전달 확인 -- 테스트: skill-slack/tests/test_lists_with_file.py --- -## 교훈 +## 참고 -### files_upload_v2 channel 파라미터 -- channel 없이도 업로드 가능하나 문서 미확인 -- 교훈: 테스트 코드 주석 우선 확인 - -### 리스트 컬럼 구조 -- F09J1HPPQJG(테스트) ≠ F09L4S2C6BG(운영) -- 교훈: 컬럼 ID 하드코딩 금지, slack_lists_service.py:92-119 동적 매핑 사용 +- files_upload_v2: channel 파라미터 없이 업로드 가능 +- 컬럼 ID: F09J1HPPQJG(테스트) ≠ F09L4S2C6BG(운영), 동적 매핑 필요