• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ianjmacintosh / geograph / 16357804065
56%

Build:
DEFAULT BRANCH: main
Ran 17 Jul 2025 10:58PM UTC
Jobs 1
Files 58
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Jul 2025 10:57PM UTC coverage: 56.121% (+0.4%) from 55.753%
16357804065

push

github

web-flow
fix: prevent infinite WebSocket reconnection loop in GameContext (#51)

The GameContext useEffect that sends RECONNECT messages was triggering
repeatedly due to connection status transitions during reconnection,
causing an infinite loop that trapped users when creating games.

This fix:
- Tracks reconnection state per game ID using hasReconnectedRef
- Only sends one RECONNECT message per game session
- Resets tracking when games change or clear
- Adds comprehensive tests demonstrating the bug and fix

Fixes infinite reconnection loop reported in production at
https://geo.ianjmacintosh.com/

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>

251 of 315 branches covered (79.68%)

Branch coverage included in aggregate %.

9 of 0 new or added lines in 0 files covered. (NaN%)

3380 of 6155 relevant lines covered (54.91%)

20.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 16357804065.1 17 Jul 2025 10:58PM UTC 58
56.12
GitHub Action Run
Source Files on build 16357804065
  • Tree
  • List 58
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #16357804065
  • ec698b0f on github
  • Prev Build on main (#16351833487)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc