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

wboayue / rust-ibapi / 26011609058
92%

Build:
DEFAULT BRANCH: main
Ran 18 May 2026 03:20AM UTC
Jobs 1
Files 128
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

18 May 2026 03:17AM UTC coverage: 92.119% (-0.004%) from 92.123%
26011609058

push

github

web-flow
errors: validation helpers + contract/spread builders → Error::InvalidArgument (#584)

* errors: validation helpers + contract/spread builders → Error::InvalidArgument

PR-1 of plans/error-variants-audit.md. Flip the 9 helpers in
src/common/error_helpers.rs (require, require_with, require_request_id*,
require_range, require_not_empty*, map_error*) from Error::Simple to
Error::InvalidArgument so the variant matches the kind of failure. Also
convert the 6 ContractBuilder::build validation sites and the 1
SpreadBuilder::build site that mirror the same shape.

Updates 2 downstream tests in accounts/common/stream_decoders/tests.rs
(matches! pattern) and the 8 Display-string assertions in the contract /
spread builder tests (prefix shifts from "error occurred:" to
"InvalidArgument:").

Verified default + sync + all-features clippy and test sweeps.

* tests: pattern-match Error::InvalidArgument with msg guard (/simplify)

Replace 8 brittle to_string() Display-string assertions in
contracts/{builders,common/contract_builder}/tests.rs with the
matches!(err, Error::InvalidArgument(ref msg) if msg == ...) form
already used in error_helpers tests and the sibling stream_decoders
tests. Decouples from the Error variant's #[error(...)] attribute.

28 of 29 new or added lines in 3 files covered. (96.55%)

1 existing line in 1 file now uncovered.

18982 of 20606 relevant lines covered (92.12%)

27.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
99.39
0.01% src/common/error_helpers.rs

Coverage Regressions

Lines Coverage ∆ File
1
87.75
-0.18% src/transport/sync/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 26011609058.1 18 May 2026 03:20AM UTC 128
92.12
GitHub Action Run
Source Files on build 26011609058
  • Tree
  • List 128
  • Changed 4
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26011609058
  • b644bf02 on github
  • Prev Build on main (#26006699097)
  • Next Build on main (#26011892968)
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