Expand description
Orchestration helpers for the middle and final phases of installation.
The outer install entry point uses this module to keep the overall workflow readable: the rollback helpers ensure that partial filesystem state is removed when cancellation or failure interrupts the process, and the engine execution helper keeps the backend call site consistent once the payload has already been downloaded and classified.
The functions here deliberately stay focused on execution and cleanup. They
do not resolve catalog references or translate errors into user-facing types;
that work happens one layer above in super::run.
Functionsยง
- cleanup_
install_ ๐artifacts - cleanup_
temp_ ๐root - Remove the temporary root directory used for a single install attempt.
- execute_
engine_ ๐install - Execute the selected engine against a downloaded payload.
- rollback_
cancelled_ ๐install - Roll back the database and filesystem state after a cancelled install.
- rollback_
failed_ ๐install - Roll back the database and filesystem state after an install failure.