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

wboayue / rust-ibapi / 25267123189
92%

Build:
DEFAULT BRANCH: main
Ran 03 May 2026 01:54AM UTC
Jobs 1
Files 114
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

03 May 2026 01:53AM UTC coverage: 88.611% (+0.02%) from 88.591%
25267123189

push

github

web-flow
fix: surface TWS errors on subscription channels (closes #434) (#490)

* fix: surface TWS errors on subscription channels (closes #434)

Audit StreamDecoders for IncomingMessages::Error handling. When TWS
returns an error tied to a subscription's request_id, decoders that
didn't match on the message type either reproduced the original
"invalid digit found in string" parse failure (PnL, PnLSingle,
WshEventData, ScannerData), terminated with Error::Simple
("unexpected message: Error") losing the IB code/text (option
computations, account summary/position/update variants), or silently
skipped via UnexpectedResponse (option chain, news, wsh metadata,
display groups). 15 decoders now return Err(Error::Message(code, msg))
for type-4 messages.

Also: regression test for realtime_bars Error handling (sync + async)
locks down the prior fix (e1333df3). Sync Subscription log line
distinguishes TWS errors (warn!) from real decode failures (error!).

* test: extract assert_tws_error_message helper

Replace 15 copies of the Error::Message match-and-panic pattern with a
shared helper in common::test_utils. Tightens the new decoder tests
without changing semantics.

95 of 105 new or added lines in 8 files covered. (90.48%)

5 existing lines in 3 files now uncovered.

17124 of 19325 relevant lines covered (88.61%)

24.67 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
90.12
-2.73% src/accounts/common/stream_decoders/mod.rs
1
87.9
-0.03% src/common/test_utils.rs
1
94.44
-5.56% src/scanner/common/stream_decoders.rs
1
73.74
-0.27% src/subscriptions/sync.rs

Coverage Regressions

Lines Coverage ∆ File
2
92.5
6.14% src/news/common/stream_decoders.rs
2
95.83
-4.17% src/wsh/common/decoders.rs
1
59.39
0.0% src/contracts/types.rs
Jobs
ID Job ID Ran Files Coverage
1 25267123189.1 03 May 2026 01:54AM UTC 114
88.61
GitHub Action Run
Source Files on build 25267123189
  • Tree
  • List 114
  • Changed 11
  • Source Changed 8
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25267123189
  • 8ba0e398 on github
  • Prev Build on main (#25264080377)
  • Next Build on main (#25267812824)
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