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

wboayue / rust-ibapi / 43763554100
98%

Build:
DEFAULT BRANCH: main
Ran 15 Nov 2026 09:27PM UTC
Jobs 1
Files 161
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

15 Nov 2026 09:24PM UTC coverage: 97.754% (-0.009%) from 97.763%
43763554100

push

github

web-flow
orders: move the order id generator past caller-chosen order ids (#1231)

* orders: move the order id generator past caller-chosen order ids

place_order and submit_order took a caller-chosen order id without
telling the client's generator, so an id the client allocated later
(next_order_id, the order builder's submit, exercise_options) could
repeat one already sent. Raise the generator past the order id and the
order's preset attached-order ids, which TWS creates orders under.

* changelog: cite #1231

* orders: verify and reserve order ids in one place

- verify_and_reserve_order_ids: the single entry point place_order and
  submit_order (sync and async) call; reserves only after every check passes
- carried_order_ids: one list (presets, parent) read by checking and reserving
- next_valid_order_id reserves the id it returns
- tests: next_valid_order_id then submit_order regression, rejected order
  reserves nothing, labeled order_id_after table
- docs: generator follows the highest id sent; changelog drops the
  unverified "TWS rejected" claim; id-partition node updated

* orders: one way into the order-id generator

- drop Client::raise_next_order_id; callers go through id_manager()
- OrderId::next names the one-past step
- carried_order_ids doc says why reserving the parent is safe
- place/submit docs describe the range behavior without a prohibition
- generator test reads the counter without consuming it

---------

Co-authored-by: Wil Boayue <wil.boayue@gmail.com>

30 of 30 new or added lines in 6 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

20891 of 21371 relevant lines covered (97.75%)

542.98 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
95.52
-0.25% src/transport/sync.rs
Jobs
ID Job ID Ran Files Coverage
1 43763554100.1 15 Nov 2026 09:27PM UTC 161
97.75
GitHub Action Run
Source Files on build 43763554100
  • Tree
  • List 161
  • Changed 7
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43763554100
  • a8b03f5d on github
  • Prev Build on main (#43760583077)
  • Next Build on main (#43773389000)
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