The notify function runs on the backend's goroutine while the test reads the changes it records, so guard them with a mutex. This showed up as a race detector failure for backends whose ChangeNotify is tested with -race. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>