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

wboayue / rust-ibapi / 21086366252
87%

Build:
DEFAULT BRANCH: main
Ran 17 Jan 2026 01:50AM UTC
Jobs 1
Files 103
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 Jan 2026 01:43AM UTC coverage: 86.679% (+0.03%) from 86.651%
21086366252

push

github

web-flow
fix: prevent scanner infinite hang on error messages (#371)

* fix: prevent scanner infinite hang on error messages (#370)

- Add explicit handling for IncomingMessages::Error in scanner decode
  functions (async and sync) to return Error::Message instead of
  Error::UnexpectedResponse
- Add bounded retry logic (max 10 attempts) to subscription next()
  methods to prevent infinite loops from unexpected responses
- Log warnings on retry attempts and errors when max retries exceeded

Fixes #370

* refactor: extract shared scanner decode function

Move scanner message type matching logic to decode_scanner_message()
in the common decoders module to avoid duplication between async and
sync implementations.

* refactor: extract retry decision logic to common module

Move retry checking and logging to check_retry() function in the
common module. This consolidates the retry decision logic that was
duplicated between async and sync subscription implementations.

- Add RetryDecision enum to represent continue/stop decisions
- Add check_retry() function that handles counting and logging
- Update async and sync subscriptions to use the shared function
- Add test for check_retry()

* style: fix variable naming and format code

Remove underscore prefix from 'err' variable since it is actually used
in the should_retry_error() call.

29 of 42 new or added lines in 6 files covered. (69.05%)

4 existing lines in 1 file now uncovered.

8700 of 10037 relevant lines covered (86.68%)

119.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
94.12
-5.88% src/scanner/common/decoders.rs
5
89.72
-2.36% src/subscriptions/async.rs
6
70.83
-1.89% src/subscriptions/sync.rs

Uncovered Existing Lines

Lines Coverage ∆ File
4
63.95
4.07% src/contracts/types.rs
Jobs
ID Job ID Ran Files Coverage
1 21086366252.1 17 Jan 2026 01:50AM UTC 103
86.68
GitHub Action Run
Source Files on build 21086366252
  • Tree
  • List 103
  • Changed 7
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21086366252
  • 945f72b6 on github
  • Prev Build on main (#20801324414)
  • Next Build on main (#21087062501)
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