Skip to content

Avoid issues when upgrading to checkpointed controllercerts#5754

Merged
eriknordmark merged 1 commit into
lf-edge:masterfrom
eriknordmark:checkpoint
Apr 10, 2026
Merged

Avoid issues when upgrading to checkpointed controllercerts#5754
eriknordmark merged 1 commit into
lf-edge:masterfrom
eriknordmark:checkpoint

Conversation

@eriknordmark
Copy link
Copy Markdown
Contributor

Description

Have client wait for a checkpoint even if the device is already onboarded.

This issue was introduced in #5584

How to test and validate this PR

Update a device from pre-5584 to post-5584 and make sure it does not time out unlocking the vault.
When doing multiple tries on the same device, once it has been downgraded to pre do a
rm /persist/checkpoint/controllercerts*
before doing the next update to post.

Changelog notes

None (this should be part of the same changelog entry as #5584

PR Backports

Same releases as #5584

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 checked the boxes above, or I've provided a good reason why I didn't
    check them.

@eriknordmark eriknordmark added the stable Should be backported to stable release(s) label Apr 6, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 28.34%. Comparing base (2281599) to head (bfa3442).
⚠️ Report is 458 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5754      +/-   ##
==========================================
+ Coverage   19.52%   28.34%   +8.81%     
==========================================
  Files          19       18       -1     
  Lines        3021     2417     -604     
==========================================
+ Hits          590      685      +95     
+ Misses       2310     1588     -722     
- Partials      121      144      +23     

☔ View full report in Codecov by Sentry.
📢 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.

Have client wait for a checkpoint even if the device is already onboarded.

Signed-off-by: eriknordmark <erik@zededa.com>
Copy link
Copy Markdown
Member

@shjala shjala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@eriknordmark eriknordmark merged commit 80e6fd7 into lf-edge:master Apr 10, 2026
29 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable Should be backported to stable release(s)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants