pub async fn prepare<R>(
pool: &SqlitePool,
args: R,
app_config: &BhtuneConfig,
) -> Result<PreparedTune>Expand description
Validates a tune request and prepares the driver and persisted run record.
The unattended-write guard and timing/config validation run before driver I/O. The caller’s request is snapshotted before effective connection defaults are resolved, and the resolved connection and tuning context are persisted before polling starts.