Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore(notifications): use uuids for notification sandbox (#2800)

gbirmanf755a24cd558
diff --git a/rust/cloud-storage/notification_sandbox/src/main.rs b/rust/cloud-storage/notification_sandbox/src/main.rs
index 72b90a0fcb..e5b53f3e54 100644
--- a/rust/cloud-storage/notification_sandbox/src/main.rs
+++ b/rust/cloud-storage/notification_sandbox/src/main.rs
@@ -294,11 +294,12 @@ async fn run_notification_cycle<I: NotificationIngress>(
println!("\n--- Ingress: Creating notification ---\n");
let request = SendNotificationRequestBuilder {
- notification_entity: EntityType::Channel.with_entity_str("sandbox-entity-id"),
+ notification_entity: EntityType::Channel
+ .with_entity_string(uuid::Uuid::now_v7().to_string()),
notification: ChannelMessageSendMetadata {
sender: MacroUserIdStr::try_from_email("[email protected]").unwrap(),
message_content: "This is a message".to_string(),
- message_id: "message_id".to_string(),
+ message_id: uuid::Uuid::now_v7().to_string(),
common: model_notifications::CommonChannelMetadata {
channel_type: model_notifications::ChannelType::Public,
channel_name: "test-channel-name".to_string(),