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
fix(e2e): Add retry logic for KV eventual consistency in session tests
The session-race.spec.ts E2E tests were failing in CI because they
expected session data to be immediately available after creation.
Cloudflare KV has eventual consistency, so data may not be available
on first read.
Added retry logic (3 attempts with 2-second waits) to all tests that
verify session data via API:
- "loaded session data persists after initial load"
- "session data survives rapid page refresh"
- "edits made after load are saved correctly"
Also added debug logging to help diagnose any future consistency issues.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments