Skip to content

Main - #276

Merged
levibliz merged 8 commits into
devfrom
main
Aug 24, 2026
Merged

Main#276
levibliz merged 8 commits into
devfrom
main

Conversation

@levibliz

Copy link
Copy Markdown
Contributor

merge

…, and geo-replication

- Add MultiRegionCoordinator class for cross-region coordination
- Implement CRDTs: ORSet (room membership), RGASequence (message ordering), LWWMap (session state), LWWElementSet (geofences)
- Implement Hybrid Logical Clocks (HLC) for causal ordering across regions
- Implement vector clocks for session state conflict resolution
- Implement Merkle tree anti-entropy for divergence detection and repair
- Implement data residency enforcement at replication layer
- Implement quorum writes for critical metadata (geofences, global config)
- Implement region health monitoring and failover target selection
- Add comprehensive test suite (91 tests) covering CRDT convergence, HLC ordering, failover, data residency, and integration scenarios

Closes #264
Closes #264
Closes #264
Closes #264
… constants)

- Remove duplicate tokenRefreshSchema in validator.js
- Remove duplicate SessionManager import in server.js
- Remove unused DEFAULT_* constants in room-manager.js
- Add missing constants (MIGRATE_PATH, PROTOCOL_VERSION, etc.)
- Add missing variable declarations (localSessions, sessionTtl, ownsSessions, etc.)
- Fix duplicate functions (safeSend, markShuttingDown)
- Fix undefined variables (server -> httpServer, ctx scope)
- Update eslint config to ignore unused vars starting with _
- Fix renderMetrics usage
…, and geo-replication

- Add MultiRegionCoordinator class for cross-region coordination
- Implement CRDTs: ORSet (room membership), RGASequence (message ordering), LWWMap (session state), LWWElementSet (geofences)
- Implement Hybrid Logical Clocks (HLC) for causal ordering across regions
- Implement vector clocks for session state conflict resolution
- Implement Merkle tree anti-entropy for divergence detection and repair
- Implement data residency enforcement at replication layer
- Implement quorum writes for critical metadata (geofences, global config)
- Implement region health monitoring and failover target selection
- Add comprehensive test suite (91 tests) covering CRDT convergence, HLC ordering, failover, data residency, and integration scenarios

fix: resolve pre-existing lint issues and server.js bugs
- Remove duplicate tokenRefreshSchema in validator.js
- Remove duplicate SessionManager import in server.js
- Remove unused DEFAULT_* constants in room-manager.js
- Fix SessionManager optional creation (opt-in session resumption)
- Fix server.js close handling for proper shutdown

Closes #264
Closes #264
Closes #264
Closes #264
…-impl

feat: implement multi-region active-active deployment with CRDTs, HLC, and geo-replication (issue #264)
feat: implement predictive location modeling with Kalman filtering (closes #263)
@levibliz
levibliz merged commit 3606f30 into dev Aug 24, 2026
1 of 4 checks passed
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