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

wboayue / rust-ibapi / 25264080377
92%

Build:
DEFAULT BRANCH: main
Ran 02 May 2026 11:04PM 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

02 May 2026 11:03PM UTC coverage: 88.591% (+0.2%) from 88.405%
25264080377

push

github

web-flow
refactor(historical): use Subscription<HistoricalBarUpdate> (closes #431) (#488)

* refactor(historical): replace HistoricalDataStreamingSubscription with generic Subscription

Custom struct duplicated cancel-on-drop, AtomicBool dedup, message_bus
storage, tokio::spawn in async Drop, and inline message dispatch — all
already provided by the generic Subscription<T>. Replaced with a 30-line
StreamDecoder impl (mirrors MarketDepths / Bar / Trade pattern) and a
3-line factory body. Net -271 lines.

Async API breaks: next() now returns Option<Result<HistoricalBarUpdate,
Error>> and there is no separate error() accessor. Sync API unchanged
in this PR; see #487 for the follow-up.

Drop tests rewired to drive through the public factory rather than the
deleted internal constructor, so they exercise the real cancel-on-drop
path end-to-end.

Closes #431.

* comment: collapse keepUpToDate constraint to inline

* simplify: shorten Subscription import path; drop narration comments

20 of 24 new or added lines in 3 files covered. (83.33%)

17037 of 19231 relevant lines covered (88.59%)

24.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
95.36
-1.04% src/market_data/historical/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 25264080377.1 02 May 2026 11:03PM UTC 114
88.59
GitHub Action Run
Source Files on build 25264080377
  • Tree
  • List 114
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25264080377
  • dfbfeac5 on github
  • Prev Build on main (#25262146683)
  • Next Build on main (#25267123189)
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