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

cameri / nostream / 44907504425
78%
main: 80%

Build:
Build:
LAST BUILD BRANCH: rewrite/main
DEFAULT BRANCH: main
Ran 21 Nov 2026 01:14PM 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

21 Nov 2026 01:10PM UTC coverage: 77.582%. Remained the same
44907504425

push

github

web-flow
feat(cli): port the pnpm run cli surface to Rust (#1203)

Ports the TypeScript `pnpm run cli` surface into `crates/nostream-cli`,
as family (c) of #867.

## What ships

Eight commands the capture had and the port did not — `start`, `stop`,
`setup`, `info`, `update`,
`export`, `seed`, `invite` — plus `clean`, `clean-db` as a top-level
command, and
`config list|get|set|validate|env`. `--version` prints `nostream/<crate
version>`. A usage error
is its own class at exit 2, and the four invocations the capture answers
before its parser
(`--help`, `-h`, an empty command line, an unknown word) are answered
the same way.

Four `EventRepository` methods back it, on both backends: `scan_live`,
`count_by_criteria`,
`delete_by_criteria` and `delete_all_events`. The LMDB delete commits
one batch of 10 000 rows at
a time, so a relay sharing the store keeps its writer between batches,
and a run that stops part
way reports the rows it committed.

`dev` and its nine subcommands are **out of scope** by the operator's
decision: six are
`pnpm run test:*`, the rest shell `pnpm db:*` and `docker prune` — the
TypeScript development loop
that dies with #869. `clean-db` stays because `dev db:clean` is a real
operator operation.

The port's promises are in `CLI.md`, and the decisions behind them —
fourteen of them, each with
its cost — are `docs/rewrite/decisions/0015-cli-surface.md`.

## Decision this PR asks for

The approver passed the branch on every criterion it could exercise and
escalated on one subject:
three crates new to the workspace, of which two compile C, plus the CI
steps and the test
expectations that depend on them. None of it is a defect — the spec
requires each — but a
dependency surface is a person's call.

| subject | what it is | why |
|---|---|---|
| `bech32` | a NIP-19 decoder in `nostream-core` | the capture's `nip19`
dependency, used by `invite create` and `seed` |
| `flate2` | gzip for `export --compress` | the capture's codec;
`zlib-rs` is the backe... (continued)

4502 of 6342 branches covered (70.99%)

Branch coverage included in aggregate %.

9791 of 12081 relevant lines covered (81.04%)

758.57 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
81.82
-3.03% src/utils/relay-probe/dns-probe.ts
Jobs
ID Job ID Ran Files Coverage
1 Unit - 44907504425.1 21 Nov 2026 01:15PM UTC 321
75.03
GitHub Action Run
2 Integration - 44907504425.2 21 Nov 2026 01:14PM UTC 321
32.99
GitHub Action Run
Source Files on build 44907504425
  • Tree
  • List 321
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44907504425
  • ff045445 on github
  • Prev Build on rewrite/main (#44846898895)
  • Next Build on rewrite/main (#44933843464)
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