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

wboayue / rust-ibapi / 24273038064
85%

Build:
DEFAULT BRANCH: main
Ran 11 Apr 2026 02:59AM UTC
Jobs 1
Files 107
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

11 Apr 2026 02:52AM UTC coverage: 85.448% (-0.3%) from 85.717%
24273038064

push

github

web-flow
binary message ID framing for protobuf transport (#449)

* binary message ID framing for protobuf transport (phase 2)

- Add PROTOBUF_MSG_ID constant and encode_protobuf_message helper
- Add raw_bytes/is_protobuf fields to ResponseMessage
- Bump version range to v201..221 (PROTOBUF..UPDATE_CONFIG)
- Encode start_api as protobuf when server >= v201
- Detect protobuf vs text messages via binary message ID in read_message
- Add protobuf-aware routing with RoutingEnvelope extraction

* extract shared parse_raw_message, add protobuf path tests

- Extract duplicated read_message logic into parse_raw_message in common
- Add tests for protobuf, binary-id-text, and legacy text parse paths
- Add test for legacy format_start_api fallback
- Add TODO comments for protobuf error_code and routing tag assumptions
- Add comment clarifying mock version negotiation

* reduce duplication in encoding, routing, and message construction

- encode_length delegates to encode_raw_length
- extract is_order_message/is_shared_message helpers in routing
- add ResponseMessage::from_binary_text constructor

* move RoutingEnvelope to module scope

* fmt

* handle protobuf NextValidId, ManagedAccounts, Error during connection setup

Server at v201+ may send these startup messages as protobuf. Decode
proto payloads instead of reading text fields when is_protobuf is set.

* use binary message ID framing for all outgoing messages at v201+

Server at v201+ expects 4-byte BE binary message ID instead of text.
Without this, server cannot parse requests and never responds.

* consolidate notice logging in parse_account_info Error branch

91 of 138 new or added lines in 5 files covered. (65.94%)

2 existing lines in 2 files now uncovered.

8831 of 10335 relevant lines covered (85.45%)

124.61 hits per line

Uncovered Changes

Lines Coverage ∆ File
19
72.81
-6.68% src/connection/common.rs
15
63.41
-36.59% src/transport/routing.rs
9
95.06
-1.63% src/messages.rs
2
73.85
0.68% src/connection/async.rs
2
88.79
-0.43% src/connection/sync.rs

Coverage Regressions

Lines Coverage ∆ File
1
73.85
0.68% src/connection/async.rs
1
88.79
-0.43% src/connection/sync.rs
Jobs
ID Job ID Ran Files Coverage
1 24273038064.1 11 Apr 2026 02:59AM UTC 107
85.45
GitHub Action Run
Source Files on build 24273038064
  • Tree
  • List 107
  • Changed 7
  • Source Changed 7
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24273038064
  • 7869aa50 on github
  • Prev Build on main (#24270556471)
  • Next Build on main (#24279427661)
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