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

mendersoftware / mender-mcu / 1712866838
25%
main: 61%

Build:
Build:
LAST BUILD BRANCH: pr_209
DEFAULT BRANCH: main
Ran 12 Mar 2025 01:26PM UTC
Jobs 1
Files 16
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

12 Mar 2025 01:20PM UTC coverage: 25.489%. First build
1712866838

push

gitlab-ci

vpodzime
fix: Cache the artifact name read from NVS

Even in case the artifact name is not known (e.g. the initial
state of a device until the first successful deployment) when the
string `"unknown"` is returned. We need to cache this value to
fix two issues:

1. Make it cached and avoid trying to read it (and potentially
   fail) again and again and
2. avoid memory leaks when the callers of the
   `mender_storage_get_artifact_name()` function get a `const`
   pointer and don't `free()` it

We then don't need (cannot, in fact) `free()` the value in
`api_check_for_deployment_v2()`.

Ticket: MEN-8056
Changelog: none
Signed-off-by: Vratislav Podzimek <vratislav.podzimek+auto-signed@northern.tech>

716 of 2809 relevant lines covered (25.49%)

12.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1712866838.1 12 Mar 2025 01:26PM UTC 16
25.49
Source Files on build 1712866838
  • Tree
  • List 16
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • GitLab CI Build #1712866838
  • 63613afd on github
  • Prev Build on main (#12837021321)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc