Skip to content

[17.0-stable] pkg/debug: Do not populate productURL and logo fields in the device model - #6263

Merged
rene merged 3 commits into
lf-edge:17.0-stablefrom
rene:rem-product-url-17.0
Aug 5, 2026
Merged

[17.0-stable] pkg/debug: Do not populate productURL and logo fields in the device model#6263
rene merged 3 commits into
lf-edge:17.0-stablefrom
rene:rem-product-url-17.0

Conversation

@rene

@rene rene commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Description

Backport of #6234

How to test and validate this PR

Run spec.sh, the productURL, logo_front and logo_back fields of the output model must be empty.

Changelog notes

spec.sh: Do not populate productURL and logo fields when generating device model, so it can be populated later by the user with a valid URL and file paths.

Checklist

  • I've provided a proper description
  • I've added the proper documentation
  • I've tested my PR on amd64 device
  • I've tested my PR on arm64 device
  • I've written the test verification instructions
  • I've set the proper labels to this PR
  • I've added a reference link to the original PR
  • PR's title follows the template
  • I've checked the boxes above, or I've provided a good reason why I didn't
    check them.

rene added 3 commits August 3, 2026 12:18
The productURL field from the device model expects an URL that points to a
product page of the device. Such information is not provided through SMBIOS
table by default, and usually unlikely to be present. Given some
controllers might impose a valid URL, it doesn't make sense to populate
this field with the device model, so better to let it empty so it can be
populated later with a valid URL without break the device model for the
controller.

Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
(cherry picked from commit 22c22df)
The logo_back and logo_front fields from the device model are populated
with default file names by the spec.sh script. However, the upload of the
model to the controller will fail if these files don't exist. This commit
clears both logo fields, so it makes the upload to controller less error
prone. The fields can still be manually populated by the user with the
proper image files that do exist in the system.

Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
(cherry picked from commit 9c8d4ff)
Update eve-debug image hash to the latest version.

Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
@rene
rene requested a review from eriknordmark as a code owner August 3, 2026 10:25
@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.02%. Comparing base (2de292d) to head (c52eee6).
⚠️ Report is 10 commits behind head on 17.0-stable.

Additional details and impacted files
@@               Coverage Diff               @@
##           17.0-stable    #6263      +/-   ##
===============================================
+ Coverage        20.61%   21.02%   +0.40%     
===============================================
  Files              506      516      +10     
  Lines            92880    94578    +1698     
===============================================
+ Hits             19148    19882     +734     
- Misses           72136    72921     +785     
- Partials          1596     1775     +179     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rene
rene merged commit 581483d into lf-edge:17.0-stable Aug 5, 2026
51 of 54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants