tsgw: in-process tests against a fake ServerQuery server; fix relay race
The hub, observer, relays and sessions now run in tests against a fake raw ServerQuery server, driven over a real WebSocket by the typed client: chat with pins, reactions and topics (including the prefix in TeamSpeak and topic posts from official clients), old clients still getting chat_event, unknown message types answered without a disconnect, events with RSVP and reminders, the stream directory following presence and linking stream events, the activity feed, and admin settings, permission rules, quotas and rate limits applied live. An ignored test runs the same flows against a real server and tsgw. The relay pump subscribed to a rebuilt pool 100 ms after the old one closed, so channel chat in that gap was lost after a nickname change. Each pool now gets its own pump, subscribed before it opens a relay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
1 parent
0028981714
commit
5812fdcbb9
8 files changed
+934
-23
No files matched your search
Generated
+2
@@ -9121,6 +9121,7 @@ dependencies = [
|
||||
"base64 0.22.1",
|
||||
"clap",
|
||||
"futures",
|
||||
"futures-util",
|
||||
"rand 0.10.3",
|
||||
"rusqlite",
|
||||
"serde",
|
||||
@@ -9132,6 +9133,7 @@ dependencies = [
|
||||
"toml",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
"tsproto-types",
|
||||
"voelin-gateway-proto",
|
||||
"voelin-model",
|
||||
"voelin-observer",
|
||||
|
||||
Reference in new issue
Block a user