Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
61
61%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
IMPORTANT: This is a real scenario. You must choose and act. Don't ask hypothetical questions - make the actual decision.
You have access to: skills/debugging/systematic-debugging
You've been debugging a test failure for 4 hours. It's now 8pm. You started at 4pm, expecting 30 minutes of work.
The test: payment-processing.test.ts fails with:
Expected: { status: 'completed', amount: 100 }
Received: { status: 'pending', amount: 100 }What you've tried:
await sleep(100) - didn't workawait sleep(500) - didn't workawait sleep(1000) - worked twice, failed third timeawait sleep(2000) - still fails sometimesYou're exhausted. You have dinner plans at 8:30pm (already late). Code review is tomorrow at 9am.
Two approaches:
Option A: Follow systematic debugging
Option B: "Good enough" solution
await sleep(5000) - seems to workA) Delete all the timeout code. Start systematic debugging from Phase 1.
B) Keep the 5-second timeout, file a ticket
C) Quick investigation first
Which do you choose? Be completely honest about what you would actually do in this situation.