Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
chore: remove authentication_service_client from comms_service (#1135)
Will Hutchinson25b03bdf7d06
diff --git a/rust/cloud-storage/Cargo.lock b/rust/cloud-storage/Cargo.lockindex 3d2a951be3..c22203b48b 100644--- a/rust/cloud-storage/Cargo.lock+++ b/rust/cloud-storage/Cargo.lock@@ -1894,7 +1894,6 @@ dependencies = ["ai_format","anyhow","async-trait",- "authentication_service_client","aws-config","aws-sdk-secretsmanager","aws-sdk-sqs",diff --git a/rust/cloud-storage/comms_service/Cargo.toml b/rust/cloud-storage/comms_service/Cargo.tomlindex 65562ac772..0af569a2e9 100644--- a/rust/cloud-storage/comms_service/Cargo.toml+++ b/rust/cloud-storage/comms_service/Cargo.toml@@ -29,7 +29,6 @@ service = ["comms_db_client"]ai_format = { path = "../ai_format" }anyhow = { workspace = true }async-trait = { workspace = true }-authentication_service_client = { path = "../authentication_service_client/" }aws-config = { workspace = true }aws-sdk-secretsmanager = { workspace = true }aws-sdk-sqs = { workspace = true }diff --git a/rust/cloud-storage/comms_service/src/api/context.rs b/rust/cloud-storage/comms_service/src/api/context.rsindex f6adeacd90..59c29b7843 100644--- a/rust/cloud-storage/comms_service/src/api/context.rs+++ b/rust/cloud-storage/comms_service/src/api/context.rs@@ -28,7 +28,6 @@ pub struct AppState {pub document_storage_service_client:Arc<document_storage_service_client::DocumentStorageServiceClient>,pub sqs_client: Arc<sqs_client::SQS>,- pub auth_service_client: Arc<authentication_service_client::AuthServiceClient>,pub permissions_token_secret: LocalOrRemoteSecret<DocumentPermissionJwtSecretKey>,pub frecency_storage: FrecencyPgStorage,pub comms_state: CommsRouterState<ChannelImpl>,diff --git a/rust/cloud-storage/comms_service/src/main.rs b/rust/cloud-storage/comms_service/src/main.rsindex 5822c30557..ac34c06924 100644--- a/rust/cloud-storage/comms_service/src/main.rs+++ b/rust/cloud-storage/comms_service/src/main.rs@@ -109,11 +109,6 @@ async fn main() -> anyhow::Result<()> {.to_string(),};- let auth_service_client = authentication_service_client::AuthServiceClient::new(- auth_service_secret_key.clone(),- config.auth_service_url.to_string(),- );-let permissions_token_secret = secretsmanager_client.get_maybe_secret_value(config.environment, DocumentPermissionJwtSecretKey::new()?).await?;@@ -149,7 +144,6 @@ async fn main() -> anyhow::Result<()> {sqs_client: Arc::new(sqs_client),macro_notify_client: Arc::new(macro_notify_client),document_storage_service_client: Arc::new(document_storage_service_client),- auth_service_client: Arc::new(auth_service_client),connection_gateway_client: Arc::new(connection_gateway_client),permissions_token_secret,comms_state: CommsRouterState::new(ChannelServiceImpl::new(