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

powersemmi / ruststream / 34667976599
96%

Build:
DEFAULT BRANCH: main
Ran 12 Sep 2026 02:36AM UTC
Jobs 1
Files 95
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

12 Sep 2026 02:33AM UTC coverage: 97.329% (+0.005%) from 97.324%
34667976599

push

github

web-flow
Let a transform declare whether it may name a destination (#324)

* fix(#315): bound what the memory broker keeps

The in-memory broker recorded every publish in a per-name log and never trimmed it, so a
long-running service on it grew without bound: the log length, the number of names (a
request inbox left its reply behind for the life of the process), and the payloads the log
held alive.

How much a broker keeps is now its own declaration, carried in its type. `MemoryBroker::new()`
keeps nothing, and drops the header clone and the name allocation the log cost on every publish.
`MemoryBroker::retaining(Retention::..)` keeps the newest messages of every name within a
message or byte bound, and its subscriptions alone implement `Seekable`, so replaying on a
broker that keeps no history is a compile error rather than a replay that finds nothing.

Positions stay absolute as the bound evicts, a seek to an evicted one reports
`MemoryError::PositionEvicted`, and `MemoryPosition::start()` now means the oldest message still
kept. The test harness records for the length of a run, so published-message assertions are
unchanged whichever form the application was built on.

Breaking: the log mode is a type parameter with a default, so the `MemoryBroker` spelling
survives, but code that seeks moves to `retaining(..)`.

* feat: make a redirect and a declared destination mutually exclusive

A publish transform could call `Outgoing::set_name` and move a reply off the
channel its type declared, which put the running service and the generated
document back out of step. The two intents are now different traits and
different chain steps: `PublishTransform` owns headers and payload and must
leave the destination alone, `RedirectTransform` names the destination per
delivery and rides `.redirect(..)`. The step exists only where the reply type
leaves the destination open and only on a handler answering one delivery, so a
declared reply, a batch reply and a second redirect are... (continued)

52 of 52 new or added lines in 7 files covered. (100.0%)

12606 of 12952 relevant lines covered (97.33%)

184.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34667976599.1 12 Sep 2026 02:36AM UTC 95
97.33
GitHub Action Run
Source Files on build 34667976599
  • Tree
  • List 95
  • Changed 16
  • Source Changed 16
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34667976599
  • 5a604321 on github
  • Prev Build on main (#34667809593)
  • Next Build on main (#34702637961)
  • 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