pub async fn register_worker( client: &Client, server: &str, token: &Option<String>, worker_id: &str, name: &str, codebases: &[String], public_url: Option<&str>, ) -> Result<()>