pub async fn run(
data_dir: PathBuf,
force_api_secrets: ApiSecrets,
settings: ConfigGenSettings,
db: Database,
code_version_str: String,
module_init_registry: ServerModuleInitRegistry,
task_group: TaskGroup,
bitcoin_rpc: DynServerBitcoinRpc,
setup_ui_router: SetupUiRouter,
dashboard_ui_router: DashboardUiRouter,
db_checkpoint_retention: u64,
) -> Result<()>