Menu

We Tested Every REST Endpoint and Missed the Queue That Dropped $62K
📰

We Tested Every REST Endpoint and Missed the Queue That Dropped $62K

#hackernoon#technology#json#schema#const
Long article (1854 words) — no AI summary yet.
Reading 0:00
15s threshold

{ "Attributes": { "ApproximateNumberOfMessages": "4819", "ApproximateNumberOfMessagesNotVisible": "0" } }

That was the output of aws sqs get-queue-attributes on prod-merchant-payouts-dlq when our finance lead finally asked why Tuesday's Stripe Connect batch was missing $62,400 in disbursements.

Every single REST API contract test in our monorepo had passed that morning. Our Playwright suite was green. Our Go service's unit tests were green. Our TypeScript worker's unit tests were green.

None of them caught the bug, because the bug did not live on an HTTP route. It lived in the invisible gap between a Go service calling sqs.SendMessage and a Node.js worker calling JSON.parse(record.Body) as PayoutRequestedEvent .

Why REST Contract Tests Miss Half Your Architecture

Engineering teams spend huge amounts of energy locking down synchronous HTTP boundaries.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.