Skip to content

feat: 노션 데이터 행 단위 검증 및 슬랙 실패 알림 추가 - #117

Open
2fill wants to merge 4 commits into
mainfrom
feature/people-data-validation
Open

2fill wants to merge 4 commits into
mainfrom
feature/people-data-validation

Conversation

@2fill

@2fill 2fill commented Aug 30, 2026

Copy link
Copy Markdown

✨ 무엇을 변경했나요?

  • NotionSchema.tsNotionListEnvelopeSchema(배열 형태 확인 스키마) 추가
  • NotionUtils.tsparseNotionListSafe(한 행씩 성공/실패 검사) 및 peekName(실패 행 이름 추출) 추가
  • NotionManager.tsgetNotionListfetchRawList로 수정 (노션 데이터 가져오기만, 검증 x)
  • NotionManager.tsPromise.allPromise.allSettled로 수정 (한 명 데이터 터져도, 나머지 유지)
  • reportDataFailures.ts 추가 (데이터 검증 실패 슬랙 알림)

🔗 관련 이슈

스크린샷 2026-08-30 19 21 47
  • 원인

노션 API 응답 → 96개 한 번에 검증(z.array) → catch { return [] } → 화면에 아무것도 안 나타남
스크린샷 2026-08-30 19 24 09

  • 수정 후

노션 API 응답 → 배열 형식 검증 → 한 행씩 검증(safeParse) → 통과/실패 분리 → 실패 슬랙 알림 → 통과한 행은 모두 표시
스크린샷 2026-08-30 19 26 57


📷 스크린샷 (필요한 경우)


📋 체크리스트

  • 변경 사항이 정상적으로 동작하는지 확인했습니다.
  • 필요시 관련 문서를 업데이트했습니다.

💬 하고 싶은 말

Webhook URL 결정되면 연동해두겠습니다!

@2fill
2fill requested a review from gonn-i August 30, 2026 10:23
@2fill 2fill self-assigned this Aug 30, 2026
@coderabbitai

coderabbitai Bot commented Aug 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • Bug

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: db1e451f-271a-435a-81f3-0c1efbc5b131

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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