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

wboayue / rust-ibapi
92%

Build:
DEFAULT BRANCH: main
Repo Added 08 Apr 2023 06:56AM UTC
Files 142
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • main

26 Jun 2026 04:25AM UTC coverage: 91.802% (+0.05%) from 91.757%
28217062971

push

github

web-flow
Add collect_for/collect_until terminals and snapshot_once builder (#686) (#692)

* Add collect_for/collect_until terminals and snapshot_once builder (#686)

Offer a convenience terminal on Subscription<T> that collects data items
into a Vec bounded by a total timeout, an optional early-break predicate,
the snapshot-end sentinel, stream end, or a terminal error. Adds
MarketDataBuilder::snapshot_once(timeout) sugar so one-shot market-data
snapshots no longer require a hand-written collect-with-timeout loop.

- Subscription::collect_for / collect_until (sync + async)
- MarketDataBuilder::snapshot_once (sync + async)
- TickSnapshotEnd testdata builder; collect + snapshot_once tests
- CHANGELOG + README snapshot idiom

* Skip redundant cancel for completed async snapshot subscriptions (#686)

Review finding #2: the async Subscription<T> lacked the snapshot_ended
tracking the sync side has, so dropping an async snapshot subscription
after SnapshotEnd always spawned a cancelMktData for an already-completed
request. Port snapshot_ended to the async subscription:

- Add snapshot_ended (shared) + snapshot_end_fn fields; detect the
  snapshot-end sentinel in poll_next and skip cancel in cancel()/drop().
- Capture the detector via detect_snapshot_end() at the builder-send layer
  where T: StreamDecoder<T> holds, leaving new_from_internal usable for
  decoder types where D != T (test path).
- Regression test asserting no cancel lands after a completed snapshot.

* simplify: intrinsic async snapshot detection + fn-pointer + macro fixture (#686)

/simplify pass on the snapshot work:

- Centralize snapshot-end detection in new_from_internal (require
  T: StreamDecoder<T>, the self-decoding pattern every production decoder
  already satisfies) instead of wiring detect_snapshot_end() into three
  builder send sites. Removes the fragility where a future creation path
  would silently lose cancel suppression; mirrors the sync side's intrinsic
  tracking. (altitude)
- sna... (continued)

85 of 87 new or added lines in 5 files covered. (97.7%)

18196 of 19821 relevant lines covered (91.8%)

28.79 hits per line

Relevant lines Covered
Build:
Build:
19821 RELEVANT LINES 18196 COVERED LINES
28.79 HITS PER LINE
Source Files on main
  • Tree
  • List 142
  • Changed 7
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
28217062971 main Add collect_for/collect_until terminals and snapshot_once builder (#686) (#692) * Add collect_for/collect_until terminals and snapshot_once builder (#686) Offer a convenience terminal on Subscription<T> that collects data items into a Vec bounde... push 26 Jun 2026 04:28AM UTC web-flow github
91.8
28150109933 main docs: reference merged PR number in is_connection_lost changelog entry (#691) Changelog convention is to end bullets with the PR number; the entry cited the issue (#685) instead of the merged PR (#690). push 25 Jun 2026 06:00AM UTC web-flow github
91.76
28149906549 main Add Error::is_connection_lost() predicate for reconnect loops (#685) (#690) * Add Error::is_connection_lost() predicate for reconnect loops (#685) Public predicate so reconnect consumers branch on connection loss without matching internal Error ... push 25 Jun 2026 05:55AM UTC web-flow github
91.76
28080358896 main chore: remove merged plan file plans/684-connectivity-status.md push 24 Jun 2026 06:45AM UTC wboayue github
91.76
28080230754 main Expose data-farm connectivity sub-states within the warning band (#689) Add ConnectivityStatus (Ok/Broken/Inactive/Connecting) with ConnectivityStatus::from_code(i32) and Notice::connectivity_status(), refining the 2100..=2169 warning band into f... push 24 Jun 2026 06:42AM UTC web-flow github
91.76
28077482000 main docs: document commission↔execution correlation by execution_id (#688) CommissionReport joins to its Execution deterministically by execution_id (carried on both ExecutionData.execution.execution_id and CommissionReport.execution_id). Document th... push 24 Jun 2026 05:35AM UTC web-flow github
91.75
27860266872 main chore: bump version to 3.1.0 (#682) push 20 Jun 2026 04:35AM UTC web-flow github
91.75
27598323840 main docs: adopt Keep a Changelog 1.1.0 (#681) Add a root CHANGELOG.md in Keep a Changelog 1.1.0 + SemVer format, seeded with the user-facing changes merged since v3.0.1. Document the practice in CLAUDE.md: every user-facing PR appends to [Unreleased]... push 16 Jun 2026 06:22AM UTC web-flow github
91.75
27597853947 main Log benign data-farm connectivity notices at info, not warn (#678) * Log benign data-farm connectivity notices at info, not warn IB's message-codes reference classifies 2104/2106/2158 (data farm connection OK) as System Notifications, distinct f... push 16 Jun 2026 06:10AM UTC web-flow github
91.75
27596596748 main routing: unify data-advisory classification + end-to-end stream tests (#680) * routing: unify data-advisory classification + end-to-end stream tests Follow-up to #677. Two gaps from the review: #2 Consistency: is_warning_error routed 10089/1016... push 16 Jun 2026 05:39AM UTC web-flow github
91.75
See All Builds (664)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc