Race conditions leave intermittent, hard to reproduce failures in production. The stack trace shows where the failure surfaces, while the unsafe shared state originates elsewhere. Debug walks the knowledge graph through every concurrent code path involved in the failure, identifies the exact timing window where state is shared unsafely, and returns a targeted fix pinpointing the precise file and line that needs a guard. Issue:Documentation Index
Fetch the complete documentation index at: https://docs.potpie.ai/llms.txt
Use this file to discover all available pages before exploring further.
- The checkout controller and how it handles concurrent requests
- The order creation service and how it manages shared state
- The point where two concurrent requests write to the same record without a lock
- Exact file and line where the missing lock allows concurrent writes
- The shared resource receiving unsynchronized concurrent writes
- Lock or atomic operation at the correct layer with the minimal change required
- Verification across all shared resources for the same exposure pattern

