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

wboayue / rust-ibapi / 29547909482
92%

Build:
DEFAULT BRANCH: main
Ran 17 Jul 2026 01:40AM UTC
Jobs 1
Files 142
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 Jul 2026 01:37AM UTC coverage: 91.932% (+0.1%) from 91.837%
29547909482

push

github

web-flow
Add read-only Client::config() (TWS 10.43 / server 219) (#707)

* Add read-only Client::config() (TWS 10.43 / server 219)

New config domain module exposing a one-shot Client::config() (sync +
async) that reads the TWS/Gateway configuration: API settings, order
precautions, smart-routing, lock-and-exit, and message prompts.

- ReqConfig -> ConfigResponse proto round-trip via one_shot_request_with_retry
- Idiomatic config::Config snapshot (no proto leak); every field optional
- Features::CONFIG gate (server_versions::CONFIG = 219)
- Register ConfigResponse in text_request_id_field so it routes by request_id
- Field-minimal testdata builders; 100% coverage on the new module

Read path only; update_config (write path with warning-ack) deferred.

* Add config examples (sync + async)

Smoke-tested against live IB Gateway paper (127.0.0.1:4002): the full
Config snapshot (lock-and-exit, message prompts, API settings,
precautions, smart-routing) decodes from real TWS wire data.

* Collapse redundant decode_config wrapper; narrow visibility

decode_config_message now calls require_proto()+decode inline; drop the
one-line decode_config indirection and the unused pub(crate) exposure
(decode_config_proto is module-private). No cross-module consumers.

* Reuse MessageBusStub::with_ordered_responses in config tests

Replace the hand-rolled stub struct literal with the existing named
constructor; drops the now-unused RwLock import.

191 of 191 new or added lines in 5 files covered. (100.0%)

115 existing lines in 4 files now uncovered.

18358 of 19969 relevant lines covered (91.93%)

30.71 hits per line

Coverage Regressions

Lines Coverage ∆ File
102
62.05
0.09% src/orders/mod.rs
6
83.99
0.04% src/proto/decoders.rs
4
61.25
2.65% src/orders/common/verify.rs
3
93.37
0.02% src/proto/encoders.rs
Jobs
ID Job ID Ran Files Coverage
1 29547909482.1 17 Jul 2026 01:40AM UTC 142
91.93
GitHub Action Run
Source Files on build 29547909482
  • Tree
  • List 142
  • Changed 9
  • Source Changed 9
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29547909482
  • 96113607 on github
  • Prev Build on main (#29475238072)
  • Next Build on main (#29550294992)
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