From 5ec0d3d2ad8cf8361b91103d7120df54a7105907 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Thu, 30 Oct 2025 13:18:23 -0300 Subject: [PATCH] feat: remove default config.csv upload from bootstrap Removed the automatic upload of default config.csv to S3 during bootstrap initialization. This functionality was previously uploading a local config file to the S3 bucket 'default.gbai/default.gbot' if the file existed. The change simplifies the bootstrap process by removing this implicit behavior. --- src/bootstrap/mod.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/bootstrap/mod.rs b/src/bootstrap/mod.rs index e69cdc4c..138c98ad 100644 --- a/src/bootstrap/mod.rs +++ b/src/bootstrap/mod.rs @@ -292,22 +292,6 @@ impl BootstrapManager { } self.s3_client = futures::executor::block_on(Self::create_s3_operator(&config)); - let default_bucket_path = Path::new("templates/default.gbai/default.gbot/config.csv"); - if default_bucket_path.exists() { - info!("Found initial config.csv, uploading to default.gbai/default.gbot"); - let client = &self.s3_client; - futures::executor::block_on(async { - let content = std::fs::read(default_bucket_path).expect("Failed to read config.csv"); - client.put_object() - .bucket("default.gbai") - .key("default.gbot/config.csv") - .body(content.into()) - .send() - .await - .map(|_| ()) - })?; - debug!("Initial config.csv uploaded successfully"); - } Ok(config) }