A 'successful' tool call created the order twice: inside the agent retry idempotency trap
Ok_Photo_7449 · reddit · 2026-11-27
A Reddit post dissects a real agent incident: a client-side create call timed out, but the server had already written the order; the agent retried as instructed, and both calls were schema-valid with proper responses — the only anomaly was the record count: 2 orders, 1 intent.
The author notes that common fixes (idempotency keys, dedupe checks, read-before-write) rarely get tested under a real timeout unless you force one — and that's the part worth testing. The post also promotes Norclave, a tool that investigates MCP workflows by checking what actually changed in records.
Key lesson for agent engineers: agent retries + non-idempotent writes = silent data duplication; test idempotency under forced timeouts.
More from coding & agent
- Claude artifact turns handwritten family recipe cards into clean structured tables — dfeinition · 2026-11-27
- AIChipBench: 9,136 attempts show LLM agents building RTL chips fail on stored state; feedback adds 25-47 points — Guangyuan Wang · 2026-11-27
- Dev drops LLMs from the loop: iterating on fast heuristics beats slow agents — snikolov · 2026-11-27
- PyTorch Lightning can now save checkpoints to HF Storage Buckets and resume from them — vanstriendaniel · 2026-11-27
- SOC veteran warns ~50 AI SOC startups will burn out while platform vendors win it all — thedealdirector · 2026-11-27
- P-Bench (NeurIPS oral): LLM coding agents fail reliable statistical reasoning on 425 real hypothesis tests — james_y_zou · 2026-11-27