मुख्य सामग्री पर जाएँ
Skillpedia
डेटाबेस41k · #6967

diagnosing-failed-warehouse-syncs

यह क्या करती है

यह स्किल एजेंट को PostHog वेयरहाउस में एक विफल डेटा सिंक की गड़बड़ी ढूँढना सिखाती है, जैसे Stripe या Postgres इंपोर्ट। यह उन लोगों के लिए है जिनका डेटा अपडेट होना रुक गया है या गलत दिखता है।

कब इस्तेमाल करें

  • ✓जब कोई खास डेटा सिंक, जैसे Stripe या Postgres, फ़ेल हो रहा हो या एरर दिखा रहा हो।
  • ✓जब कोई टेबल कई घंटों से चल रही स्थिति में अटकी हो।
  • ✓जब आपके वेयरहाउस का डेटा गलत लगे या उसमें पंक्तियाँ गायब हों।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/diagnosing-failed-warehouse-syncs/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरा Stripe सिंक कई घंटों से अटका है और डेटा पुराना लगता है। कृपया पता कीजिए कि क्यों, और सबसे सुरक्षित सुधार बताइए।”

हर हफ़्ते 5 नई skills, 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
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

depot-ci

41k

यह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

depot-container-builds

41k

यह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

depot-github-runners

41k

यह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

editing-agents-md

41k

यह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।

AI और एजेंटएजेंट

मिलती-जुलती skills