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

Mellanox / nic-configuration-operator / 44382905601-1
61%

Build:
DEFAULT BRANCH: main
Ran 18 Nov 2026 07:48PM UTC
Jobs 1
Files 76
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 07:41PM UTC coverage: 60.643% (+0.1%) from 60.536%
44382905601-1

push

github

web-flow
fix: fail firmware downloads on HTTP error responses (#595)

DownloadFile only logged a non-200 response status and returned nil, so
the body of the error response was saved as the requested file.

For BFB and DOCA SPC-X CC sources the file is then recorded in the
cache metadata. Every later reconcile finds it there and skips the
download, so the NicFirmwareSource stays in ProcessingFailed after the
server recovers, until the URL is changed or the object is recreated.
For firmware archives the error page is reported as an invalid zip
file instead of the HTTP status.

Return an error for any status other than 200 before creating the
destination file, and close the response body on every path.

Signed-off-by: Dezhen Lu <dezhen.lu@student.uni-tuebingen.de>

8 of 13 new or added lines in 1 file covered. (61.54%)

3 existing lines in 2 files now uncovered.

6852 of 11299 relevant lines covered (60.64%)

0.61 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
70.75
0.3% pkg/firmware/utils.go

Coverage Regressions

Lines Coverage ∆ File
2
81.97
1.09% internal/controller/nicfirmwaresource_controller.go
1
70.75
0.3% pkg/firmware/utils.go
Jobs
ID Job ID Ran Files Coverage
1 44382905601-1.1 18 Nov 2026 07:48PM UTC 76
60.64
GitHub Action Run
Source Files on build 44382905601-1
  • Tree
  • List 76
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44382905...
  • 968f3f12 on github
  • Prev Build on main (#43181507...)
  • Next Build on main (#44731250...)
  • 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