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

wboayue / rust-ibapi / 21086366252 / 1
87%
main: 87%

Build:
DEFAULT BRANCH: main
Ran 17 Jan 2026 01:50AM UTC
Files 103
Run time 2s
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.1

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.

8700 of 10037 relevant lines covered (86.68%)

119.08 hits per line

Source Files on job 21086366252.1
  • Tree
  • List 103
  • Changed 7
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21086366252
  • 945f72b6 on github
  • Prev Job for on main (#20801324414.1)
  • Next Job for on main (#21087062501.1)
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