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

wboayue / rust-ibapi / 25586026434
92%

Build:
DEFAULT BRANCH: main
Ran 09 May 2026 12:21AM UTC
Jobs 1
Files 126
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

09 May 2026 12:20AM UTC coverage: 88.398% (+0.006%) from 88.392%
25586026434

push

github

web-flow
chore(orders): drop text branch in OrderStatus decoder (#531)

`decode_order_status` is now proto-only via the existing `require_proto`
helper. All originating outgoing-request gates (PlaceOrder=203,
RequestOpenOrders/etc.=204) sit at or below the connection floor of 210
(`PROTOBUF_SCAN_DATA`), so the server always emits OrderStatus in proto
framing. C# `EDecoder.cs` confirms the dispatch is purely on the 4-byte
msg-id framing — no `if server_version >=` guards on the proto/text
choice for OrderStatus.

The `decode_order_status_borrowed` alias was a no-op delegate (same
`&mut ResponseMessage` signature); deleted, callers in
`connection/common.rs` use `decode_order_status` directly. Sister
adapter `decode_open_order_borrowed` stays — `decode_open_order` is
still owned-`ResponseMessage` and dual-format.

Tests: two text-fixture unit tests (`_text_unset_double` /
`_text_empty_double`) deleted — the underlying text-decode behavior
they probed is gone. One regression guard added
(`_rejects_text_framing`, mirrors the ExecutionData/CommissionReport
sister tests). ~6 OrderStatus fixtures across
`orders/{sync,async}/tests.rs` swapped from
`text_response(order_status()...encode_pipe())` →
`proto_response(IncomingMessages::OrderStatus,
order_status()...encode_proto())`. `OrderStatusResponse` already had
both `encode_pipe()` and `to_proto()` so the swap was mechanical.

`OrderDecoder` struct + condition decoders + `decode_open_order_text` +
`decode_completed_order_text` stay — still load-bearing for the two
remaining dual-format decoders. They drop together in a follow-up PR
that adds new `OpenOrderResponse` / `CompletedOrderResponse` test
builders (the OpenOrder/CompletedOrder protos are deeply nested with
Contract/Order/OrderState submessages, won't fit in a mechanical sweep).

Tracker `plans/legacy-text-protocol-cleanup.md` updated; orders row
drops 1 text decoder and 1 dual-format call.

4 of 4 new or added lines in 2 files covered. (100.0%)

1 existing line in 1 file now uncovered.

18103 of 20479 relevant lines covered (88.4%)

32.57 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
59.39
0.44% src/contracts/types.rs
Jobs
ID Job ID Ran Files Coverage
1 25586026434.1 09 May 2026 12:21AM UTC 126
88.4
GitHub Action Run
Source Files on build 25586026434
  • Tree
  • List 126
  • Changed 4
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25586026434
  • 72a4dbe4 on github
  • Prev Build on main (#25585082657)
  • Next Build on main (#25586409592)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc