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

cameri / nostream / 42070676013
78%
main: 78%

Build:
Build:
LAST BUILD BRANCH: rewrite/main
DEFAULT BRANCH: main
Ran 05 Nov 2026 05:07PM UTC
Jobs 2
Files 321
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

05 Nov 2026 05:02PM UTC coverage: 77.588%. Remained the same
42070676013

push

github

web-flow
feat(services): port the services layer and the worker model (#866) (#1054)

Ports the services layer and the worker model from the TypeScript
capture into a new `nostream-services` crate, wires it through
`nostreamd`, and gives the importer a CLI. Job
`023-services-worker-model`, from the factory; issue #866.

## What is on the branch

- **Worker model** — `Supervisor` drives the four worker types the
capture has today (client, maintenance, relay-monitor, dvm-orchestrator)
as tokio tasks with the same lifecycle guarantees: `ShutdownState` drain
with a deadline, respawn on panic, per-worker event-store resolution.
`WORKER_COUNT` falls through on a `NaN` instead of forking zero workers.
- **Services crate** — `ServiceContext`, `ServiceStores`, an
`HttpClient` seam whose `ReqwestClient` is also the NIP-05 fetch seam,
the six payment processors plus the null one, the invoice lifecycle
(pending → completed/expired, the 404-on-lookup rule, the local-midnight
expiry), the payments service, the operator-notification dispatcher with
its outbox, delivery log and HMAC-signed HTTP channel, the maintenance
and DVM orchestrators, the Tor control client, the wot graph service,
and the JSONL importer.
- **Daemon** — `SECRET` gate, worker-count and event-backend resolution,
`WotGraphService` in place of `UnavailableWotGraph`, supervisor boot,
`relay.restarted` enqueue, Tor outcome logging at drain.
- **CLI** — `nostream-cli import` with its own argument parser, help
text, progress and summary output.
- **Docs** — ADR `0010-services-worker-model-and-cache.md` (cache
decision, worker count, respawn, the Tor port spec, the transaction
gap), `CLAUDE.md` updates, the remaining services stubs relabelled to
#865/#867.

## Acceptance

`cargo test --workspace --all-features` → **1092 passed, 0 failed, 4
ignored** at `78df655` (base 951). Every CI `Rust Checks` context is
green at that head, including `Storage parity against Postgres`, the op
that was failing until round 7 fix... (continued)

4502 of 6342 branches covered (70.99%)

Branch coverage included in aggregate %.

9792 of 12081 relevant lines covered (81.05%)

759.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Integration - 42070676013.1 05 Nov 2026 05:06PM UTC 321
33.0
GitHub Action Run
2 Unit - 42070676013.2 05 Nov 2026 05:08PM UTC 321
75.03
GitHub Action Run
Source Files on build 42070676013
  • Tree
  • List 321
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42070676013
  • 67755d1e on github
  • Prev Build on rewrite/main (#41823029546)
  • Next Build on rewrite/main (#42485548527)
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