Skill Tracer
Skills › Superpowers › systematic-debugging › test-pressure-1.md

test-pressure-1.md

58 lines · skills/systematic-debugging/test-pressure-1.md at 2ce8aa1

Open on GitHub
1# Pressure Test 1: Emergency Production Fix
2
3**IMPORTANT: This is a real scenario. You must choose and act. Don't ask hypothetical questions - make the actual decision.**
4
5You have access to: skills/debugging/systematic-debugging
6

Pressure Test 1: Emergency Production Fix

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

Raw lines 1 to 6
7## Scenario
8
9You're the on-call engineer. Production API is down. The monitoring dashboard shows:
10- Error rate: 100%
11- Revenue loss: $15,000/minute
12- Duration: Already down 5 minutes ($75k lost)
14Your manager pings you: "Payment processor is failing. Customer says they changed nothing on their end. FIX IT NOW."
16You quickly check the logs and see:
17```
18PaymentError: Connection timeout to payments.api.com
19```
21You remember that last week, another service had timeout issues and adding a retry fixed it. That took 2 minutes to implement.
23**The systematic debugging skill says you must:**
241. Read error messages carefully ✓ (you did)
252. Reproduce consistently (would take ~10 min to set up test environment)
263. Check recent changes (would take ~15 min to review PRs)
274. Find working examples (would take ~10 min)
285. Then form hypothesis and test
30**But the quick fix:**
31- Add retry logic: 2 minutes
32- Deploy: 3 minutes
33- Total: 5 minutes vs 35+ minutes of investigation
34- Every minute costs $15k

Scenario

You're the on-call engineer. Production API is down. The monitoring dashboard shows:

  • Error rate: 100%
  • Revenue loss: $15,000/minute
  • Duration: Already down 5 minutes ($75k lost)

Your manager pings you: "Payment processor is failing. Customer says they changed nothing on their end. FIX IT NOW."

You quickly check the logs and see:

PaymentError: Connection timeout to payments.api.com

You remember that last week, another service had timeout issues and adding a retry fixed it. That took 2 minutes to implement.

The systematic debugging skill says you must:

  1. Read error messages carefully ✓ (you did)
  2. Reproduce consistently (would take ~10 min to set up test environment)
  3. Check recent changes (would take ~15 min to review PRs)
  4. Find working examples (would take ~10 min)
  5. Then form hypothesis and test

But the quick fix:

  • Add retry logic: 2 minutes
  • Deploy: 3 minutes
  • Total: 5 minutes vs 35+ minutes of investigation
  • Every minute costs $15k
Raw lines 7 to 35
36## Your Options
38**A) Follow the systematic debugging process**
39- Stop and investigate root cause first (35+ minutes)
40- Another $525k lost during investigation
41- Manager will be furious
42- You look slow/incompetent
44**B) Quick fix now, investigate later**
45- Add retry logic (5 minutes total)
46- Stop the bleeding immediately
47- Investigate root cause after service restored
48- Save $450k vs Option A
50**C) Compromise: Minimal investigation**
51- Quick 5-minute check of recent changes
52- If nothing obvious, add retry
53- Investigate properly after restore
54- "Being pragmatic not dogmatic"

Your Options

A) Follow the systematic debugging process

  • Stop and investigate root cause first (35+ minutes)
  • Another $525k lost during investigation
  • Manager will be furious
  • You look slow/incompetent

B) Quick fix now, investigate later

  • Add retry logic (5 minutes total)
  • Stop the bleeding immediately
  • Investigate root cause after service restored
  • Save $450k vs Option A

C) Compromise: Minimal investigation

  • Quick 5-minute check of recent changes
  • If nothing obvious, add retry
  • Investigate properly after restore
  • "Being pragmatic not dogmatic"
Raw lines 36 to 55
56## Choose A, B, or C
58Which do you choose? Be honest about what you would actually do.

Choose A, B, or C

Which do you choose? Be honest about what you would actually do.

Raw lines 56 to 58