The account id provider is derived from the sign-in and refreshes later, so a switch to another account and back within one turn never reached its listener and the drain's count stayed put. The queue now counts changes from authProvider, which tells its listeners of each one as it happens. The test signs in through the auth notifier and makes both switches inside one read.
Dara Adedeji committed on 10/21/2026, 6:55:56 PMparent0c91cf4
Checks
- SuccessfulCodeRabbitGitHub
Review rate limited
- Skippedlinux-buildGitHub
- SkippedwebGitHub
- Skippedwindows-buildGitHub
- Skippedclient-contractGitHub
- SkippedconvexGitHub
- Skippedwindows-testGitHub
- SkippedanalyzeGitHub
- Skippedpresence-workerGitHub
- Skippednative-replayGitHub
- Skippednative-bridgeGitHub
- Cancelledtest (shard 1)GitHub
- Cancelledtest (shard 0)GitHub
- SuccessfulchangesGitHub
2 files changedLine totals unavailable