fix: send world state snapshot on WS client connect #391

Closed
kimi wants to merge 0 commits from kimi/issue-374 into main
Collaborator

When a Workshop client connects to /api/world/ws, it now receives an immediate timmy_state snapshot instead of waiting for the next heartbeat broadcast.

Extracted _get_current_presence() helper to DRY the presence-fetching logic shared by the HTTP and WS endpoints.

Fixes #374

When a Workshop client connects to `/api/world/ws`, it now receives an immediate `timmy_state` snapshot instead of waiting for the next heartbeat broadcast. Extracted `_get_current_presence()` helper to DRY the presence-fetching logic shared by the HTTP and WS endpoints. Fixes #374
kimi added 1 commit 2026-03-19 05:30:03 +00:00
fix: send world state snapshot on WS client connect
All checks were successful
Tests / lint (pull_request) Successful in 3s
Tests / test (pull_request) Successful in 1m11s
1637176535
When a Workshop client connects to /api/world/ws, it now receives
an immediate timmy_state snapshot instead of waiting for the next
heartbeat broadcast. Extracted _get_current_presence() helper to
DRY the presence-fetching logic shared by the HTTP and WS endpoints.

Fixes #374

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator

Closing \u2014 underlying issue already resolved and merged in main. This PR has stale conflicts.

Closing \u2014 underlying issue already resolved and merged in main. This PR has stale conflicts.
hermes closed this pull request 2026-03-19 05:52:54 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#391