-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
o/snapstate, o/devicestate: remodel with components from the store #14933
base: master
Are you sure you want to change the base?
o/snapstate, o/devicestate: remodel with components from the store #14933
Conversation
fb52d67
to
7e4bd1c
Compare
Thu Jan 16 21:32:29 UTC 2025 Failures:Preparing:
Executing:
Restoring:
|
7e4bd1c
to
9d70ca3
Compare
…mponent-setup when installing a snap with components This indicates to ifacestate's setup-profiles handler that the setup-profiles should operate on a snap and a set of components, rather than a single component.
…s only associated with components or not
…used to create a recovery system
9d70ca3
to
f291bf0
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #14933 +/- ##
=========================================
Coverage ? 78.12%
=========================================
Files ? 1159
Lines ? 153588
Branches ? 0
=========================================
Hits ? 119993
Misses ? 26192
Partials ? 7403
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
snapsupTask = t | ||
break | ||
} | ||
t := ts.MaybeEdge(snapstate.SnapSetupEdge) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pedronis here is where the new edge is used
This change enables us to do a remodel that includes components from the store. This is a little incomplete, as I discovered that I need to handle the case where we swap to an already installed kernel (leftover from a previous remodeling) that may have some components already installed. This is a small edge case, and will not change most of the PR.
Based on #14939 for now.