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

rustymotors / server / 27999831073
45%
dev: 44%

Build:
Build:
LAST BUILD BRANCH: redesign
DEFAULT BRANCH: dev
Ran 23 Jun 2026 03:22AM UTC
Jobs 1
Files 277
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

23 Jun 2026 03:20AM UTC coverage: 45.187% (+0.1%) from 45.083%
27999831073

push

github

drazisil
Add multi-client test harness with real queue integration tests

TestClient wraps real MessageQueue instances so relay/broadcast handlers
can be tested end-to-end without mocking getSocketQueue. Existing handler
unit tests mock getSocketQueue; these tests verify packets actually flow
through the real queue infrastructure.

MultiClientSession coordinates N clients sharing ChannelMembership state.
npsMessages.ts provides packet builders derived from our own session
captures and server-side parsers.

Five scenarios covered via real queues:
- SEND_SINGLE_LONG delivers rewritten 12-byte envelope to target only
- SEND_SINGLE_LONG skips self-delivery
- SEND_BUDDY_LONG delivers to buddy connection
- SEND_NOT_SINGLE_LONG broadcasts to all except sender and excluded user
- SEND_NOT_SINGLE_LONG delivers to nobody when channel is sender+excluded only

Also exports _resetChannelMembership from rusty-motors-shared/test for
cross-package test isolation.

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

708 of 1766 branches covered (40.09%)

Branch coverage included in aggregate %.

32 of 51 new or added lines in 3 files covered. (62.75%)

4216 of 9131 relevant lines covered (46.17%)

133.1 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
37.93
packages/gateway/test/session/npsMessages.ts
1
94.12
packages/gateway/test/session/TestClient.ts
Jobs
ID Job ID Ran Files Coverage
1 27999831073.1 23 Jun 2026 03:22AM UTC 277
45.19
GitHub Action Run
Source Files on build 27999831073
  • Tree
  • List 277
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27999831073
  • 1ab2c661 on github
  • Prev Build on redesign (#27998838094)
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