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

UpdateHub / updatehub / 44310262431
67%

Build:
DEFAULT BRANCH: master
Ran 18 Nov 2026 01:11PM UTC
Jobs 1
Files 80
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

18 Nov 2026 01:05PM UTC coverage: 68.963% (-0.4%) from 69.389%
44310262431

push

github

otavio
fix(flash): check install-if-different against the written bytes only

The flash handler handed `should_skip_install` the whole MTD partition.
`flashcp` and `nandwrite -p` write the object from the start of the
partition and leave the rest erased, so with `content-diverges` the
checksum covered the object plus the erased tail and never matched: the
object was written on every update, however unchanged. A bootloader
partition is erased and rewritten each time for nothing.

Read exactly the `size` bytes the install writes, from the start of the
partition. On NAND, skip the bad erase blocks as `nandwrite` does, so the
read sees the data where it was written. That also keeps the version
check of `version-diverges` inside the object, which #449 left reading
the whole partition because a plain `size` bound would cut off a banner
pushed past it by a bad block.

The bad-block-aware read is unit tested without hardware. The installer
tests over nandsim and mtdram need root, like the other MTD tests.

42 of 104 new or added lines in 2 files covered. (40.38%)

1 existing line in 1 file now uncovered.

4315 of 6257 relevant lines covered (68.96%)

1406.16 hits per line

Uncovered Changes

Lines Coverage ∆ File
35
34.96
-13.36% updatehub/src/object/installer/flash.rs
27
20.08
16.17% updatehub/src/utils/mtd.rs

Coverage Regressions

Lines Coverage ∆ File
1
20.08
16.17% updatehub/src/utils/mtd.rs
Jobs
ID Job ID Ran Files Coverage
1 44310262431.1 18 Nov 2026 01:11PM UTC 80
68.96
GitHub Action Run
Source Files on build 44310262431
  • Tree
  • List 80
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44310262431
  • c2ae53f6 on github
  • Prev Build on master (#44263414190)
  • Next Build on master (#44310452771)
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