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

wboayue / rust-ibapi / 26005329721
92%

Build:
DEFAULT BRANCH: main
Ran 17 May 2026 11:06PM UTC
Jobs 1
Files 128
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

17 May 2026 11:04PM UTC coverage: 92.118% (+0.05%) from 92.071%
26005329721

push

github

web-flow
connection!: remove StartupMessage::Other; narrow ResponseMessage to pub(crate) (#581)

* connection!: remove StartupMessage::Other; narrow ResponseMessage to pub(crate)

PR 3 of plans/retire-response-message-public-surface.md. Three coupled
changes that finally retire ResponseMessage from the public surface:

1. StartupMessage::Other(ResponseMessage) removed. Unknown handshake
   frame kinds and typed-decoder failures now route to the notice
   stream (Client::notice_stream()) with synthesized codes:
   - HANDSHAKE_UNKNOWN_FRAME_CODE = -3 (TWS schema drift)
   - HANDSHAKE_DECODE_FAILURE_CODE = -4 (decoder bug)
   New Notice::is_handshake_synthetic() predicate distinguishes them
   from TWS-emitted notices.

2. ResponseMessage crate-root re-export dropped from src/lib.rs and
   the type narrowed to pub(crate). The struct was wire plumbing;
   downstream code never had a reason to reach it.

3. Error::UnexpectedResponse(ResponseMessage) → UnexpectedResponse(String).
   The string carries the Debug repr for diagnostic logging; the
   structured payload is no longer exposed. matches!(err,
   UnexpectedResponse(_)) keeps working. 41 internal callsites switch
   to a new Error::unexpected_response(&ResponseMessage) helper.

TickDecoder trait kept pub (it's a bound on the public TickSubscription
type) but its decode method gets #[allow(private_interfaces)] — external
users cannot construct &mut ResponseMessage, so the method is
effectively crate-private.

Migration guide: docs/migration-3.0.md updated; sections 6 and 17
reflect the narrowed surface. PR 1 capture artifact
(examples/async/startup_capture.rs) deleted — its discovery mission is
complete and the example referenced the removed Other variant.

Tests: lib 1224 (async) / 1510 (sync) / 1511 (all-features); doctests
134/210/210. Three connect/reconnect tests reshaped to use the
OpenOrderEnd unit marker instead of sparse-frame fall-through, since
sparse-frame decode failures no longer route through the... (continued)

63 of 87 new or added lines in 18 files covered. (72.41%)

18979 of 20603 relevant lines covered (92.12%)

27.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
90.12
0.0% src/accounts/common/stream_decoders/mod.rs
6
81.4
0.0% src/orders/common/stream_decoders.rs
5
88.61
0.0% src/market_data/realtime/mod.rs
2
87.5
0.0% src/news/common/stream_decoders.rs
1
95.05
0.0% src/market_data/historical/mod.rs
1
94.59
0.0% src/scanner/common/decoders.rs
1
94.44
0.0% src/scanner/common/stream_decoders.rs
1
95.83
0.0% src/wsh/common/decoders.rs
Jobs
ID Job ID Ran Files Coverage
1 26005329721.1 17 May 2026 11:06PM UTC 128
92.12
GitHub Action Run
Source Files on build 26005329721
  • Tree
  • List 128
  • Changed 19
  • Source Changed 19
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26005329721
  • 4d03313e on github
  • Prev Build on main (#26003029493)
  • Next Build on main (#26005991100)
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