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

powersemmi / ruststream / 34822821548
96%

Build:
DEFAULT BRANCH: main
Ran 14 Sep 2026 08:31AM 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

14 Sep 2026 08:27AM UTC coverage: 96.417% (+96.4%) from 0.0%
34822821548

push

github

web-flow
fix: read the cap on the native path from the one count the transport has (#359)

* fix: count a retry's attempts from both the broker and the header

A registration's max_attempts cap now counts with the larger of the broker's
own delivery count and the framework's retry-count header, and reads it on the
native delayed-redelivery path wherever the runtime publishes the
subscription's copies. RabbitMQ's .delay(..) scheme is a copy the crate
republishes through a wait queue, so the crate increments the header while the
server counts nothing for that cycle, and a quorum queue's x-delivery-count
counts only the deliveries a consumer failed. A cap declared over such a queue
never held a retry_after before.

* fix: read the cap on the native path from the one count the transport has

Where a broker counts its own deliveries, that count is the only count a
max_attempts cap reads, and the framework's retry-count header is never mixed
in. The header is the count only on a transport that keeps none, and a crate
that honours a delay by republishing the delivery increments it on that copy,
so the cap follows the message round a wait queue. That is RabbitMQ's .delay(..)
scheme on a classic queue, where the server counts nothing and a cap declared
over the delay never held before. A native count that does not grow on a delay
scheme or on an explicit requeue is the broker's behaviour, for the broker's
own documentation to state.

14614 of 15157 relevant lines covered (96.42%)

190.76 hits per line

Coverage Regressions

Lines Coverage ∆ File
9
95.35
95.35% src/buffered.rs
9
92.37
92.37% src/message.rs
9
92.72
92.72% src/runtime/inject.rs
8
96.26
96.26% src/typed_headers/de.rs
7
95.45
95.45% src/typed_headers/mod.rs
6
92.59
92.59% src/runtime/publish/wiring.rs
5
96.53
96.53% src/logging.rs
3
92.95
92.95% src/runtime/cli.rs
3
94.44
94.44% src/runtime/extract.rs
3
92.0
92.0% src/runtime/subscriber_def.rs
1
93.94
93.94% src/memory/log.rs
Jobs
ID Job ID Ran Files Coverage
1 34822821548.1 14 Sep 2026 08:31AM UTC 99
96.42
GitHub Action Run
Source Files on build 34822821548
  • Tree
  • List 99
  • Changed 96
  • Source Changed 4
  • Coverage Changed 96
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34822821548
  • e3d7fe42 on github
  • Prev Build on main (#34822781011)
  • Next Build on main (#34832786319)
  • 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