You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add proper regression test for OAuth retry performance bug
This test validates the fix for PR #1206 which resolved a critical
performance issue where every request was being sent twice due to
incorrect indentation of retry logic.
The test:
- Simulates a successful authenticated request (200 response)
- Counts how many times the request is yielded
- FAILS with buggy version: 2 yields (double sending)
- PASSES with fix: 1 yield (correct behavior)
This directly tests the root cause that made OAuth requests 2x slower
and ensures this regression cannot occur again.
0 commit comments