Debug an Asynchronous SDK Race Condition with a Customer
Company: Stripe
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Onsite
Overview: Diagnose an intermittent SDK race that returns data from a previous asynchronous request. Trace request-scoped state and completion order, define cancellation and concurrency semantics, preserve compatibility, add a deterministic reproducer, and communicate uncertainty clearly during customer debugging.