Skip to content

Rebuild realtime syncing system, major refactor of codebase#448

Merged
snide merged 10 commits into
mainfrom
cleanup_data_layer
Jun 10, 2026
Merged

Rebuild realtime syncing system, major refactor of codebase#448
snide merged 10 commits into
mainfrom
cleanup_data_layer

Conversation

@snide

@snide snide commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

This PR rewrites the realtime sync architecture around a single authoritative Y.js document per game session, owned by the PartyKit server. It removes all the dumb timing window stuff I had to cover race conditions.

The end result is that the app should feel much more performant.

The only real change for users is that the ids of the scenes are now used rather than the order within the game session. This was needed to make things a little quicker to query.

@github-actions

github-actions Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Fly Preview Deployments - Completed ✅

@snide snide merged commit fa359da into main Jun 10, 2026
11 checks passed
@snide snide deleted the cleanup_data_layer branch June 10, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant