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

powersemmi / ruststream / 34751438925
96%

Build:
DEFAULT BRANCH: main
Ran 13 Sep 2026 10:21AM UTC
Jobs 1
Files 99
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

13 Sep 2026 10:16AM UTC coverage: 96.438% (-0.3%) from 96.707%
34751438925

push

github

web-flow
feat: declare the retry cap and the dead-letter destination at the mount site (#344)

* feat(#343): declare the retry cap and the dead-letter destination at the mount site

`max_attempts(n)` and `dead_letter(name)` follow `include` on both chain surfaces, each
declared once and before `out_retry(policy)`. Below the cap a copy of the delivery goes back
to the subscription, at the cap to the declared destination; a cap alone rejects the spent
delivery, a destination alone takes over every copy. An immediate `retry()` obeys the same
cap, from the broker's delivery count where the transport keeps one.

The retry publisher now exists on every registration whose descriptor publishes its copies
here, paired from `DefaultPublish`, so a bare `retry_after` yields the copy instead of an
immediate requeue and the warning that came with it.

Breaking for broker authors: `SubscriptionSource` gains `type Copies` and `declare_retry`,
`IncomingMessage` gains a defaulted `redelivery_count`, and a descriptor that publishes its
copies here must report a `redelivery_address` or its registrations refuse to start.

* feat(#343): apply the cap on the native delayed-redelivery path

A broker that holds a delivery back itself now gets the delay only below the registration's
cap: the count is read first, from the broker's own delivery count, and a delivery at the cap
goes to the declared dead-letter destination or is rejected. A transport that counts nothing
is untouched, since the framework's header never increments where the broker holds the
message, and so is a descriptor whose broker moves a spent delivery itself.

`max_attempts` therefore works on JetStream through `num_delivered` with no mapping in the
broker crate, and the startup log line says the cap reaches a native redelivery through that
count alone.

* feat(#343): split the copy path three ways and let the mount site name where the copies go

A descriptor declares `AddressedCopies` (this process publishes the copie... (continued)

1784 of 1927 new or added lines in 37 files covered. (92.58%)

1 existing line in 1 file now uncovered.

14622 of 15162 relevant lines covered (96.44%)

190.22 hits per line

Uncovered Changes

Lines Coverage ∆ File
47
81.12
-15.03% src/conformance/harness.rs
32
60.98
src/runtime/retry/declare.rs
29
69.15
src/describe.rs
9
64.23
src/runtime/retry/mod.rs
8
94.16
-0.04% src/runtime/redelivery.rs
6
92.59
-0.81% src/runtime/publish/wiring.rs
6
93.41
1.66% src/runtime/router/routes.rs
4
96.0
src/asyncapi/bindings.rs
2
98.44
0.08% src/runtime/dispatch.rs

Coverage Regressions

Lines Coverage ∆ File
1
98.44
0.08% src/runtime/dispatch.rs
Jobs
ID Job ID Ran Files Coverage
1 34751438925.1 13 Sep 2026 10:21AM UTC 99
96.44
GitHub Action Run
Source Files on build 34751438925
  • Tree
  • List 99
  • Changed 44
  • Source Changed 43
  • Coverage Changed 39
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34751438925
  • 23632266 on github
  • Prev Build on main (#34749858099)
  • Next Build on main (#34759078861)
  • 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