Setting a config field calls ConfigFile.update(), which takes
api_app.shared_ctx.config_update_lock. The test did not use async_client,
so the lock only existed when another test in the same process had already
attached the shared context; running first in a worker, it failed with
"'SharedContext' object has no attribute 'config_update_lock'".
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>