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

wboayue / rust-ibapi / 25244164015
93%

Build:
DEFAULT BRANCH: main
Ran 02 May 2026 04:54AM UTC
Jobs 1
Files 112
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

02 May 2026 04:53AM UTC coverage: 89.737% (-0.001%) from 89.738%
25244164015

push

github

web-flow
test(transport): async MemoryStream spike (PR 1/5) (#473)

* test(transport): async MemoryStream spike (PR 1 of MockGateway elimination)

Validates AsyncRead/AsyncWrite over Mutex<VecDeque<u8>> with explicit
Waker registration. Round-trip test pends the reader, yields, pushes a
length-prefixed frame from a producer task, confirms the waker resumes
the read without busy-spinning. Also covers EOF via close().

Not yet wired into AsyncConnection — gates the PR 2 design per
todos/eliminate-mock-gateway.md.

* test(transport): address review nits on async memory spike

- Move inline tests to sibling async_memory_tests.rs per CLAUDE.md item 13
- Drop redundant file-level cfgs (mod declaration in transport/mod.rs already
  gates on test+async)
- Pin tokio::test(flavor = "current_thread") so the producer task can't race
  ahead of the consumer's park, preserving waker-path coverage

* test(transport): reuse encode_raw_length, drop redundant new()

push_frame was hand-rolling the same 4-byte BE length + payload framing
that messages::encode_raw_length already provides; call the helper.
new() was a stylistic alias for default() with #[derive(Default)] in
scope — drop it and use Default::default() directly in the test.

49 of 56 new or added lines in 1 file covered. (87.5%)

1 existing line in 1 file now uncovered.

17942 of 19994 relevant lines covered (89.74%)

39.67 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
87.5
src/transport/async_memory.rs

Coverage Regressions

Lines Coverage ∆ File
1
59.39
0.44% src/contracts/types.rs
Jobs
ID Job ID Ran Files Coverage
1 25244164015.1 02 May 2026 04:54AM UTC 112
89.74
GitHub Action Run
Source Files on build 25244164015
  • Tree
  • List 112
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25244164015
  • 78f5a041 on github
  • Prev Build on main (#25228781613)
  • Next Build on main (#25244645550)
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