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

lexus2k / tinyproto-rust / 23979980175
87%

Build:
DEFAULT BRANCH: main
Ran 04 Apr 2026 01:36PM UTC
Jobs 1
Files 13
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

04 Apr 2026 01:35PM UTC coverage: 86.709%. Remained the same
23979980175

push

github

lexus2k
Add documentation, tests, examples, and fix I-frame queue bugs

Documentation:
- Add crate-level rustdoc to lib.rs describing the 3 protocol layers
- Add doc comments to all public types, functions, and methods
- cargo doc builds with zero warnings

Tests (43 → 56):
- FD protocol: disconnect, bidirectional data, multiple frames,
  data too large, send before connect
- I-queue control: retransmit, move_to_previous_ns
- Peers: multi-peer resolution, round-robin switching
- HDLC low-level: all-special-bytes payload, empty frame
- HDLC high-level: multiple frames
- Light: timeout on empty read

Examples:
- light_loopback: send/receive via simulated wire
- hdlc_encode_decode: low-level framing with CRC error detection
- fd_loopback: full connection lifecycle (SABM/UA, I-frames, DISC)

Bug fixes:
- put_i_frame used next_ns (send cursor) instead of last_ns (alloc cursor),
  causing duplicate sequence numbers when queuing multiple frames
- Confirmed I-frames were never freed from the queue (free_by_ns)
- get_next for I-frames ignored sequence number argument
- switch_to_connected now initializes retries and last_sent_i_ts

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

265 of 273 new or added lines in 7 files covered. (97.07%)

157 existing lines in 7 files now uncovered.

2029 of 2340 relevant lines covered (86.71%)

6223.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
81.94
0.0% src/proto/fd/protocol.rs
3
78.79
0.0% src/proto/fd/frame_queue.rs

Coverage Regressions

Lines Coverage ∆ File
82
81.94
0.0% src/proto/fd/protocol.rs
23
79.49
0.0% src/proto/hdlc/low_level.rs
18
75.59
0.0% src/proto/hdlc/high_level.rs
15
70.59
0.0% src/proto/hdlc/node.rs
13
78.79
0.0% src/proto/fd/frame_queue.rs
5
58.62
0.0% src/proto/fd/frames.rs
1
99.27
0.0% src/proto/fd/i_queue_control.rs
Jobs
ID Job ID Ran Files Coverage
1 23979980175.1 04 Apr 2026 01:36PM UTC 13
86.71
GitHub Action Run
Source Files on build 23979980175
  • Tree
  • List 13
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23979980175
  • a699dd10 on github
  • Prev Build on main (#23979954373)
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