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

powersemmi / ruststream / 41686417796
96%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2026 05:50PM UTC
Jobs 1
Files 285
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

03 Nov 2026 05:39PM UTC coverage: 96.439% (+0.1%) from 96.316%
41686417796

push

github

web-flow
feat: a thread-per-core runtime on compio (#620) (#691)

* refactor(runtime): the service description and the health values move below the tokio runner

AppInfo, HealthState and SubscriptionCount live in ruststream-runtime, and a Described trait
carries what the AsyncAPI document needs from a built service, so the document builder no longer
depends on the tokio runner. The runtime gains the `compio` feature. Public paths are unchanged.

* fix(runtime): App keeps its own metadata methods and build_spec accepts any impl App

Described is not a supertrait of App any more: an opaque impl App kept losing info, servers and
handlers. A hidden adapter presents an App as Described for the CLI and the facade's build_spec.

* refactor(runtime): the ring hand-off of threads(n) is the delivery body's, the tokio half starts the threads

* feat(macros): #[ruststream::app(runtime = compio, cores = n)] expands to the compio entry point

* refactor(cli): argument parsing, the spec generator and the error type no longer need tokio

The tokio entry point (run_main, run_main_on, AppRuntime) sits behind the cli crate's tokio feature, which the facade turns on. Another runner builds its own entry over the same parser and generator.

* refactor(cli): the tokio entry tests import the std modules they use

* test(ui): the run_main snapshot names the module the tokio entry lives in

* test(cli): the ui snapshot names the module the tokio entry lives in

* feat(runtime): Ctx<Core> gives a handler the core of the compio runner it runs on

The runtime feature compio turns on the contract's send bounds, as tokio does,
because a delivery may be handed to another core.

* feat(runtime-compio): the host seam of the compio runner

The crate holds the clock (virtual under testing), the shutdown signal, the
counted tasks for the work deliveries leave behind, the cooperative yield and
the launcher that runs one runtime per core.

* fix(runtime): the build without alloc knows the compio fe... (continued)

4552 of 4682 new or added lines in 55 files covered. (97.22%)

3 existing lines in 2 files now uncovered.

41872 of 43418 relevant lines covered (96.44%)

12081.03 hits per line

Uncovered Changes

Lines Coverage ∆ File
15
83.33
crates/ruststream-runtime-compio/src/app/testing.rs
14
87.16
crates/ruststream-cli/src/entry.rs
13
95.81
crates/ruststream-runtime-compio/src/cores.rs
10
90.38
crates/ruststream-cli/src/compio_entry.rs
10
97.28
crates/ruststream-runtime-compio/src/app/run.rs
10
96.11
crates/ruststream-runtime-compio/src/dispatch/cores.rs
9
95.89
crates/ruststream-runtime-compio/src/sink.rs
8
87.1
crates/ruststream-testing/src/compio/handle.rs
7
98.66
crates/ruststream-runtime/src/dispatch/rings.rs
6
96.67
crates/ruststream-testing/src/compio.rs
6
72.73
crates/ruststream-testing/src/compio/brokers.rs
4
91.84
crates/ruststream-runtime-compio/src/dispatch/slots.rs
3
97.09
crates/ruststream-runtime-compio/src/app/scope.rs
2
98.53
crates/ruststream-runtime-compio/src/dispatch/workers.rs
2
99.08
crates/ruststream-runtime-compio/src/quiescence.rs
2
96.55
crates/ruststream-runtime-compio/src/stop.rs
2
98.18
crates/ruststream-runtime-compio/src/virtual_clock.rs
1
99.57
-0.13% crates/ruststream-macros/src/app.rs
1
99.7
-0.3% crates/ruststream-macros/src/expand/mod.rs
1
98.63
crates/ruststream-runtime-compio/src/app/health.rs
1
99.35
crates/ruststream-runtime-compio/src/app/teardown.rs
1
99.22
crates/ruststream-runtime-compio/src/dispatch/batch.rs
1
98.15
crates/ruststream-runtime-compio/src/tasks.rs
1
97.78
crates/ruststream-runtime-compio/src/time.rs

Coverage Regressions

Lines Coverage ∆ File
2
88.38
-0.51% crates/ruststream-runtime-tokio/src/dispatch/batch_pool.rs
1
92.31
-2.07% crates/ruststream-runtime-tokio/src/dispatch/threads.rs
Jobs
ID Job ID Ran Files Coverage
1 41686417796.1 03 Nov 2026 05:50PM UTC 285
96.44
GitHub Action Run
Source Files on build 41686417796
  • Tree
  • List 285
  • Changed 33
  • Source Changed 31
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41686417796
  • 11dbe6fa on github
  • Prev Build on main (#41610768945)
  • Next Build on main (#41725367327)
  • Delete
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