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

wboayue / rust-ibapi / 25397008708
92%

Build:
DEFAULT BRANCH: main
Ran 05 May 2026 07:16PM UTC
Jobs 1
Files 124
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

05 May 2026 07:14PM UTC coverage: 87.916% (-0.02%) from 87.936%
25397008708

push

github

web-flow
feat(subscriptions): global NoticeStream for unrouted IB notices (PR 5) (#512)

* feat(subscriptions): global NoticeStream for unrouted IB notices (PR 5)

Adds Client::notice_stream() so consumers can react programmatically to
notices arriving with no request_id (connectivity 1100/1101/1102, farm
status 2104-2108, etc.) instead of scraping logs.

- new dedicated NoticeStream type (sync + async); avoids the
  SubscriptionItem<Notice>::Notice semantic oddity
- sync NoticeBroadcaster (Mutex<Vec<crossbeam Sender>>, lazy prune on
  broadcast, close on shutdown); async uses broadcast::Sender directly
  since the tokio broadcast channel already provides subscribe/auto-prune
- two-line addition at each existing log_unrouted_notice call site;
  log + broadcast kept as separate concerns
- examples/sync/notice_stream.rs + examples/async/notice_stream.rs;
  prelude exports NoticeStream
- 6 sync + 5 async dispatcher e2e tests + 5+5 unit tests; live-gateway
  smoke test in integration/{sync,async}/tests/notice_delivery.rs

Tests: sync 936 lib + async 938 lib + all-features 1147 lib + 74 doc.
Clippy clean across default, sync-only, --all-features. Integration
crates (sync + async) compile + clippy clean.

* docs(claude): add rules 17-18 — dual-feature type pattern, skip parity wrappers

Distilled from PR 5 review. Rule 17 captures the Subscription / NoticeStream
dual-export shape (per-feature submodules, async-preferred top alias, sync
also at client::blocking::*). Rule 18 says don't wrap tokio broadcast/mpsc
just for sync/async parity when the runtime primitive already auto-prunes.

* docs(todos): add v3 public-API ergonomics tracking doc

Living checklist of pre-3.0 public-API rough edges (builders, newtypes,
order construction, error variants, etc.). Companion to the existing
topic-specific docs in todos/.

63 of 77 new or added lines in 6 files covered. (81.82%)

1 existing line in 1 file now uncovered.

17184 of 19546 relevant lines covered (87.92%)

26.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
84.55
-5.88% src/stubs.rs
3
94.39
-2.72% src/client/async.rs
3
90.65
-2.62% src/client/sync.rs

Coverage Regressions

Lines Coverage ∆ File
1
84.55
-5.88% src/stubs.rs
Jobs
ID Job ID Ran Files Coverage
1 25397008708.1 05 May 2026 07:16PM UTC 124
87.92
GitHub Action Run
Source Files on build 25397008708
  • Tree
  • List 124
  • Changed 7
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25397008708
  • b03319c8 on github
  • Prev Build on main (#25360691221)
  • Next Build on main (#25402446613)
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