Incident Analysis
When to use this skill
- •When investigating a production or dev incident (e.g., "Transfer stuck in PENDING").
- •When users report "Balance didn't update".
- •When analyzing logs for error patterns.
How to use it
- •Trace the Event Chain:
- •Start from the creation of the transaction.
- •Did the
transaction.createdevent fire? - •Did Eventarc deliver it to the
onTransactionCreatedfunction? - •Did the function execute successfully?
- •Did the
transaction.completedevent fire?
- •Check for Broken Links:
- •Identify which step in the chain failed.
- •Use
functions.get_logsor grep searching to find specific transaction IDs.
- •Verify Data Consistency:
- •Compare the Ledger sum vs. the aggregated Balance.
- •Check if a "compensation transaction" failed (reversal).
- •Hypothesize & Verify:
- •Formulate a hypothesis (e.g., "Timeout during 3rd party API call").
- •Find evidence in logs to confirm or deny.