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

jiowchern / PinionCore.Remote / 19116751534

05 Nov 2025 09:16PM UTC coverage: 58.695% (-0.1%) from 58.825%
19116751534

push

github

jiowchern
refactor: improve WebSocket handling and test reliability

Refactor WebSocket connection logic to return a `Peer` object
instead of a boolean, enhancing type safety and clarity. Modify
both `Connector` and `GatewayConsole` to use this `Peer` object,
thereby improving how the connection state is managed and
interacted with.

Additionally, enhance the WebSocket test to check for a non-null
`Peer` on connection, ensuring more reliable testing of the
connection establishment logic.

Remove the `DisconnectAsync` from `Connector` and move it into
`Peer` to centralize disconnection logic, making it easier to
maintain and apply timeout handling during disconnect operations.

1012 of 1944 branches covered (52.06%)

Branch coverage included in aggregate %.

16 of 23 new or added lines in 2 files covered. (69.57%)

32 existing lines in 8 files now uncovered.

6987 of 11684 relevant lines covered (59.8%)

81323.66 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
PinionCore.Network/Tcp/PinionCore.Remote.Server/Provider.cs


Source Not Available

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