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

varlink / rust
54%
master: 54%

Build:
Build:
LAST BUILD BRANCH: feature/hh/features
DEFAULT BRANCH: master
Repo Added 19 Mar 2018 03:36PM UTC
Files 27
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

LAST BUILD ON BRANCH feature/hh/async_more
branch: feature/hh/async_more
CHANGE BRANCH
x
Reset
  • feature/hh/async_more
  • asn-generator
  • clap_update
  • dependabot/cargo/bitflags-2.0.0
  • dependabot/cargo/bitflags-2.0.2
  • dependabot/cargo/bitflags-2.1.0
  • dependabot/cargo/bitflags-2.2.1
  • dependabot/cargo/bitflags-2.3.1
  • dependabot/cargo/bitflags-2.3.3
  • dependabot/cargo/bitflags-2.4.0
  • dependabot/cargo/bitflags-2.4.1
  • dependabot/cargo/bitflags-2.6.0
  • dependabot/cargo/clap_complete-4.5.60
  • dependabot/cargo/colored-3.0.0
  • dependabot/cargo/proc-macro2-1.0.103
  • dependabot/cargo/quote-1.0.42
  • dependabot/cargo/syn-2.0.10
  • dependabot/cargo/syn-2.0.108
  • dependabot/cargo/syn-2.0.110
  • dependabot/cargo/syn-2.0.13
  • dependabot/cargo/syn-2.0.15
  • dependabot/cargo/syn-2.0.16
  • dependabot/cargo/syn-2.0.27
  • dependabot/cargo/syn-2.0.28
  • dependabot/cargo/syn-2.0.29
  • dependabot/cargo/syn-2.0.3
  • dependabot/cargo/syn-2.0.31
  • dependabot/cargo/syn-2.0.32
  • dependabot/cargo/syn-2.0.37
  • dependabot/cargo/syn-2.0.38
  • dependabot/cargo/uds_windows-1.0.1
  • feature/hh/async_with
  • feature/hh/features
  • feature/hh/tempdir
  • feature/introspection
  • master
  • peg
  • refs/heads/dependabot/cargo/syn-2.0.18
  • refs/tags/varlink-cli-4.5.3
  • refs/tags/varlink_generator-10.1.0
  • refs/tags/varlink_parser-4.2.0
  • remove-unix_socket-dep
  • rust-version
  • style
  • syn-2-upgrade
  • unignore-tests
  • v13

10 Jan 2026 10:41AM UTC coverage: 53.999% (+0.3%) from 53.745%
20877093261

Pull #141

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>
Pull Request #141: feat: add multi-reply support for async mode (more/continues flags)

34 of 44 new or added lines in 1 file covered. (77.27%)

2721 of 5039 relevant lines covered (54.0%)

14.37 hits per line

Relevant lines Covered
Build:
Build:
5039 RELEVANT LINES 2721 COVERED LINES
14.37 HITS PER LINE
Source Files on feature/hh/async_more
  • Tree
  • List 27
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20877093261 feature/hh/async_more 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-rep... Pull #141 10 Jan 2026 10:43AM UTC haraldh github
54.0
20877078150 feature/hh/async_more 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-rep... push 10 Jan 2026 10:42AM UTC haraldh github
54.01
20877078766 feature/hh/async_more Merge 56bb3ba42 into 57f51f0b8 Pull #141 10 Jan 2026 10:42AM UTC web-flow github
54.01
20876952145 feature/hh/async_more 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-rep... Pull #141 10 Jan 2026 10:30AM UTC haraldh github
54.01
See All Builds (332)
  • Repo on GitHub
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