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

UpdateHub / updatehub / 30379631623
66%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2026 04:48PM UTC
Jobs 1
Files 78
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

28 Jul 2026 04:43PM UTC coverage: 66.164%. Remained the same
30379631623

push

github

otavio
test: mem_drain: cover the bounds that keep an offline device's log in check

An offline device records one probe failure per retry, and what keeps that from
growing without bound is counting consecutive repeats, with eviction as the
backstop for when the failures differ. Both were only lightly covered, so add
tests for what each of them promises:

- Memory stays flat over a hundred thousand retries of the same failure, which
  is the regression proper: the drain must hold no more after days offline than
  it did after the first few retries.
- Only a run at the tail is counted, and records differing in level or in their
  key values are not taken for repeats of one another.
- A counted repeat is not a new entry, so it must not move the first index and
  tell a reader there is something new to read.
- The first index grows across both eviction and the start of a new operation,
  so neither can be mistaken for the other.
- An entry larger than the bound is kept rather than evicted into nothing, and
  gives way once there is a newer one to keep instead.
- The repeat count reaches the JSON the SDK reads, not just the text form.
- Stopping recording keeps what was recorded and resumes without discarding it,
  which is what reporting a probe failure out of scope relies on.

Each was checked against a drain mutated back to the behaviour it guards, so
they fail when it regresses rather than merely passing today.

112 of 115 new or added lines in 1 file covered. (97.39%)

4 existing lines in 1 file now uncovered.

2765 of 4179 relevant lines covered (66.16%)

1191.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
98.03
0.0% updatehub/src/mem_drain.rs

Coverage Regressions

Lines Coverage ∆ File
4
98.03
0.0% updatehub/src/mem_drain.rs
Jobs
ID Job ID Ran Files Coverage
1 30379631623.1 28 Jul 2026 04:48PM UTC 78
66.16
GitHub Action Run
Source Files on build 30379631623
  • Tree
  • List 78
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30379631623
  • 2d56e84d on github
  • Prev Build on master (#30379260602)
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