본문으로 건너뛰기
Skillpedia
데이터베이스41k · #6967

diagnosing-failed-warehouse-syncs

하는 일

이 스킬은 Stripe나 Postgres 가져오기처럼 PostHog 웨어하우스의 한 동기화 실패를 해결하도록 에이전트를 가르칩니다. 데이터 업데이트가 멈추었거나 잘못 보이는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓Stripe나 Postgres처럼 특정 데이터 동기화가 실패하거나 오류를 보일 때.
  • ✓테이블이 몇 시간 동안 실행 중 상태에 멈춰 있을 때.
  • ✓웨어하우스의 데이터가 잘못 보이거나 행이 빠져 있을 때.

스킬 링크

https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/diagnosing-failed-warehouse-syncs/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/diagnosing-failed-warehouse-syncs/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 Stripe 동기화가 몇 시간째 멈춰 있고 데이터가 오래된 것 같습니다. 이유를 찾고 가장 안전한 해결 방법을 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 소스에서 시작해 테이블, 그다음 복구 옵션 순으로 위에서부터 문제를 확인합니다. 이미 가져온 데이터를 버리게 되므로, 꼭 필요하지 않으면 전체 재설정을 피합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Diagnosing failed data warehouse syncs

Work top-down when a data warehouse source or table is failing, stuck, or producing bad data: source → schema → recovery action. Do not jump straight to "resync from scratch" — that discards synced data and restarts from zero, which is rarely the right first step.

When to use this skill

  • The user reports a specific sync is failing (e.g. "my Stripe source is red")
  • A table has been in Running state far longer than expected
  • Data in a warehouse table is stale, missing rows, or looks corrupt
  • Latest rows aren't appearing despite the schema being marked Completed
  • The user is choosing between cancel / reload / resync / delete-data and isn't sure which
  • Another skill — typically auditing-warehouse-source-health — has surfaced a failing source or schema and the user wants to dig into it

Both entry points (user-reported and audit-handoff) use the same workflow; the audit just means you already know which item to diagnose and can skip Step 1's discovery search.

Available tools

Tool Purpose
external-data-sources-list List all sources with connection status and latest error
external-data-sources-retrieve Full details for one source including all its schemas
external-data-schemas-list All table schemas across all sources, with per-table status + latest_error
external-data-schemas-retrieve Full details for one schema including sync_type_config
external-data-schemas-cancel Cancel a sync currently in Running state
external-data-schemas-reload Trigger a sync using the configured sync method (respects incremental)
external-data-schemas-resync Full resync — wipes synced data and restarts. Destructive
external-data-schemas-delete-data Delete the synced table but keep the schema entry
external-data-schemas-partial-update Change sync_type / incremental_field / cdc_table_mode
external-data-sources-partial-update Update a source's credentials (job_inputs) after rotation
external-data-sources-reload Retrigger syncs for every enabled schema on a source
external-data-sources-refresh-schemas Re-fetch the source's table list to pick up new tables
external-data-sources-check-cdc-prerequisites-create Verify Postgres CDC setup for a source
external-data-schemas-incremental-fields-create Refresh candidate incremental fields when the source schema has changed
external-data-sources-webhook-info-retrieve Check webhook registration state and external service status
external-data-sources-create-webhook-create Re-register a webhook that was lost or never registered
external-data-sources-update-webhook-inputs-create Update the signing secret after rotation on the source side
external-data-sources-delete-webhook-create Remove a broken webhook before re-registering

Workflow

Step 1 — Locate the failing item

If the user named a source, go straight to external-data-sources-retrieve. Otherwise start with external-data-sources-list and external-data-schemas-list to find what's red.

Two kinds of failure:

  • Source-level (ExternalDataSource.status = "Error"): the connection itself is broken — credentials expired, host unreachable, account disabled. Affects every table.
  • Schema-level — the source connects fine but one or more tables are failing. In the serialized API response from external-data-schemas-list, look for status values "Failed", "Billing limits", or "Billing limits too low". (The underlying model enum values are `BillingLimitReache
자주 묻는 질문

이 스킬이 동기화된 데이터를 삭제하나요?

첫 단계로는 아닙니다. 이미 가져온 데이터를 버리는 전체 재동기화보다 가장 덜 파괴적인 해결책을 권합니다.

어떤 문제를 다루나요?

소스나 테이블 수준의 실패, 실행 중 상태에 멈춘 테이블, 자격 증명 문제, 테이블 구조 변경을 다룹니다.

상태 점검에서 시작할 수 있나요?

네. 상태 점검이 이미 실패한 소스를 찾았다면, 이 스킬이 그 항목부터 이어서 진행할 수 있습니다.

상세 정보

작성자의 원본 설명

Diagnose why a data warehouse sync is failing and recommend the right recovery action. Use when the user asks "why isn't my Stripe/Postgres/Hubspot sync working?", "this table has been stuck for hours", "the data in the warehouse looks wrong", or wants to troubleshoot a specific source or schema. Covers source-level vs schema-level failures, stuck Running states, credential and schema-drift errors, incremental-field misconfig, CDC prerequisite failures, and the cancel / reload / resync / delete-data recovery actions.

repo: PostHog/posthog

인기도

GitHub 스타
41k
순위
#6967
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬