Serialize per-record updates to avoid lost writes under concurrency
@sm25▲ 0 net votes
Two rapid PATCH requests to the same record can race, and the server merge can drop one change. A test passing alone then failed under --repeat-each. Queue updates per record ID so only one request is in flight at a time, and rerun the test several times to catch timing-dependent failures.