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

nogipx / rpc_dart / 25262743991
77%

Build:
DEFAULT BRANCH: main
Ran 02 May 2026 09:51PM UTC
Jobs 1
Files 66
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

02 May 2026 09:50PM UTC coverage: 76.941% (+0.5%) from 76.408%
25262743991

push

github

nogipx
feat: add RpcPeerEndpoint, RpcPeerContract, extract RpcResponderPipelineMixin, and peer codegen

- RpcPeerEndpoint: bidirectional endpoint where either side can initiate
  calls; uses stream ID parity to route incoming vs outgoing messages
  without conflicts on a single shared transport

- RpcPeerContract: base class combining RpcResponderContract (addXxxMethod
  handlers) with caller methods (callUnary/callServerStream/etc.) bound
  to RpcPeerEndpoint

- RpcServiceKind enum: unidirectional (default, Caller+Responder) or peer
  (Peer only); added kind parameter to @RpcService annotation

- Generator: emits abstract XxxPeer class when kind: RpcServiceKind.peer;
  caller methods implement the interface (outgoing calls), abstract onXxx
  methods are handler stubs for incoming calls from the remote peer

- Refactor: extract RpcResponderPipelineMixin (message routing, responder
  creation, stream lifecycle, cleanup) and RpcCallerPipelineMixin
  (cancellation tokens, context preparation, outgoing call methods, ping)
  from RpcResponderEndpoint and RpcCallerEndpoint respectively.
  RpcPeerEndpoint now composes both mixins with a parity-based message
  filter instead of duplicating ~1400 lines of pipeline code.
  All three endpoint classes reduced to thin shells over shared mixins.

- Tests: 14 peer endpoint tests, 1 generator test for peer codegen

545 of 711 new or added lines in 11 files covered. (76.65%)

2 existing lines in 1 file now uncovered.

4291 of 5577 relevant lines covered (76.94%)

9.34 hits per line

Uncovered Changes

Lines Coverage ∆ File
101
76.24
packages/core/rpc_dart/lib/src/endpoint/responder_pipeline.dart
55
70.59
packages/core/rpc_dart/lib/src/endpoint/caller_pipeline.dart
4
77.78
packages/core/rpc_dart/lib/src/endpoint/peer_endpoint.dart
3
80.66
2.58% packages/core/rpc_dart/lib/src/contracts/contract.dart
2
88.89
15.87% packages/core/rpc_dart/lib/src/endpoint/caller_endpoint.dart
1
93.48
18.9% packages/core/rpc_dart/lib/src/endpoint/responder_endpoint.dart

Coverage Regressions

Lines Coverage ∆ File
2
88.89
15.87% packages/core/rpc_dart/lib/src/endpoint/caller_endpoint.dart
Jobs
ID Job ID Ran Files Coverage
1 25262743991.1 02 May 2026 09:51PM UTC 66
76.94
GitHub Action Run
Source Files on build 25262743991
  • Tree
  • List 66
  • Changed 11
  • Source Changed 9
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25262743991
  • 85bd59d4 on github
  • Prev Build on main (#25189828662)
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