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

varlink / rust / 20877078150
54%
master: 54%

Build:
Build:
LAST BUILD BRANCH: feature/hh/features
DEFAULT BRANCH: master
Ran 10 Jan 2026 10:42AM UTC
Jobs 1
Files 27
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

10 Jan 2026 10:39AM UTC coverage: 54.01% (+0.3%) from 53.745%
20877078150

push

github

haraldh
feat: add multi-reply support for async mode (more/continues flags)

The `more` flag in requests and `continues` flag in responses were not
working in async mode. This commit fixes the async code generation and
client to properly support multi-reply sequences.

Server-side changes (varlink_generator):
- AsyncCall now tracks `continues`, `more`, `oneway` flags and collects
  multiple replies in a Vec
- `wants_more()` returns the actual client request flag
- `is_oneway()` returns the actual client request flag
- `set_continues()` stores the value and applies it to replies
- `reply_struct()` validates consistency and sets `continues: Some(true)`
- Handler dispatch extracts request metadata and sends all replies

Client-side changes (varlink/client_async.rs):
- Added persistent `recv_buf` to AsyncMethodCall to handle multiple
  messages arriving in a single read (fixes buffering bug)
- Added `continues()` method to check if more replies are expected
- Rewrote `recv()` to properly parse messages from the buffer

Also adds `examples/async_more/` demonstrating multi-reply functionality.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

34 of 43 new or added lines in 1 file covered. (79.07%)

2721 of 5038 relevant lines covered (54.01%)

14.37 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
9
69.14
7.99% varlink/src/client_async.rs
Jobs
ID Job ID Ran Files Coverage
1 20877078150.1 10 Jan 2026 10:42AM UTC 27
54.01
GitHub Action Run
Source Files on build 20877078150
  • Tree
  • List 27
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 56bb3ba4 on github
  • Prev Build on master (#20335336910)
  • Next Build on feature/hh/async_more (#20877093261)
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