async fn cleanup_apply_state( client: &Client, deploy_id: &str, ) -> Result<(), CliError>
Removes deployment bookkeeping that is only needed while apply is in-flight.