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

UpdateHub / updatehub / 32300449757
66%

Build:
DEFAULT BRANCH: master
Ran 19 Aug 2026 08:52PM UTC
Jobs 1
Files 79
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

19 Aug 2026 08:47PM UTC coverage: 65.613% (+3.4%) from 62.245%
32300449757

push

github

otavio
docs: document how the public functions fail, and mark the pure ones

`clippy::pedantic` asks three things of a public item: that prose names read as prose, that a
function which returns `Result` says when it fails, and that a function whose result is the only
reason to call it carries `#[must_use]`.

Add an `# Errors` section to the ten functions of the two SDK crates and to the four entry points
of the agent. Add a `# Panics` section where an `unwrap` can still fire: the HTTP client builder
and the rename of a runtime settings file. Mark the eight pure accessors and constructors with
`#[must_use]`.

`doc_markdown` reported `UpdateHub` and `OpenAPI` nineteen times. Both are names, not code, so
they take no backticks. Record them in a new clippy.toml instead. The three remaining reports name
real functions inside an intra-doc link, so give those the backticks they ask for.

The test helpers stay undocumented. `must_use_candidate` and `missing_panics_doc` on test
scaffolding describe nothing a reader of the tests does not already see.

3446 of 5252 relevant lines covered (65.61%)

949.83 hits per line

Coverage Regressions

Lines Coverage ∆ File
66
3.91
0.04% updatehub/src/utils/mtd.rs
28
55.87
0.0% updatehub/src/utils/fs.rs
16
48.31
0.0% updatehub/src/object/installer/flash.rs
9
69.83
-1.23% updatehub/src/object/installer/mod.rs
8
74.22
-0.78% updatehub/src/states/validation.rs
7
94.05
-0.71% updatehub/src/object/installer/raw.rs
7
86.67
86.67% updatehub/src/states/download.rs
5
0.0
0.0% updatehub/src/states/direct_download.rs
4
92.19
0.12% updatehub-cloud-sdk/src/client.rs
3
95.43
-0.53% updatehub/src/object/installer/imxkobs.rs
2
91.18
0.27% updatehub/src/logger.rs
1
75.76
0.0% updatehub-cloud-sdk/src/api.rs
1
0.0
0.0% updatehub-sdk/src/listener.rs
1
97.73
0.0% updatehub/src/utils/test_env.rs
Jobs
ID Job ID Ran Files Coverage
1 32300449757.1 19 Aug 2026 08:52PM UTC 79
65.61
GitHub Action Run
Source Files on build 32300449757
  • Tree
  • List 79
  • Changed 36
  • Source Changed 34
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32300449757
  • c662e344 on github
  • Prev Build on master (#32296696600)
  • Next Build on master (#32312345628)
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