Module flow

Module flow 

Source
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.