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

varlink / rust / 20879375911
54%

Build:
DEFAULT BRANCH: master
Ran 10 Jan 2026 02:01PM 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 01:58PM UTC coverage: 54.419% (+0.4%) from 53.999%
20879375911

push

github

web-flow
feat: add socket activation and bridge support for AsyncConnection (#143)

## Summary

- Add `AsyncConnection::with_activate()` for systemd-style socket
activation - spawns a server subprocess with `LISTEN_FDS`, `LISTEN_PID`,
and `LISTEN_FDNAMES` environment variables
- Add `AsyncConnection::with_bridge()` for connecting through
stdin/stdout bridge commands (e.g., `ssh host varlink bridge`)
- Add socket activation support to async server (`listen_async`) -
detects activation via environment variables and uses the passed fd
instead of binding
- Fix fd duplication bug in sync client's `with_activate`
- Fix `varlink bridge --connect` mode where no child process exists
- Properly kill spawned child processes when `AsyncConnection` is
dropped

## Test plan

- [x] `cargo test` - all existing tests pass
- [x] New integration tests in `async_more` example:
  - `test_with_activate` - verifies socket activation flow
- `test_with_bridge` - verifies bridge through `varlink bridge
--connect`
- [x] Verified no orphan processes after test completion

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

87 of 164 new or added lines in 4 files covered. (53.05%)

1 existing line in 1 file now uncovered.

2826 of 5193 relevant lines covered (54.42%)

14.09 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
26.09
-2.04% varlink/src/client.rs
9
0.0
0.0% varlink-cli/src/proxy.rs
21
79.62
10.91% varlink/src/client_async.rs
39
50.67
-9.44% varlink/src/server_async.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% varlink-cli/src/proxy.rs
Jobs
ID Job ID Ran Files Coverage
1 20879375911.1 10 Jan 2026 02:01PM UTC 27
54.42
GitHub Action Run
Source Files on build 20879375911
  • Tree
  • List 27
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d30e41b1 on github
  • Prev Build on master (#20877281246)
  • Next Build on master (#20911859055)
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