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.

fix(whatsapp-session): depend on the datadog_agent sidecar by its real name (#8965)

Wolf Mermelsteinddbb38e6573a
diff --git a/infra/stacks/whatsapp-session-service/index.ts b/infra/stacks/whatsapp-session-service/index.ts
index 4c04418adc..bddcc867d3 100644
--- a/infra/stacks/whatsapp-session-service/index.ts
+++ b/infra/stacks/whatsapp-session-service/index.ts
@@ -9,9 +9,9 @@ const tags = {
project: 'whatsapp-session-service',
};
-// Config arrives through the Doppler-synced APP_SECRETS_JSON. The
-// doppler-projects stack declares every key, including this stack's KMS alias
-// (`alias/whatsapp-session-service-<stack>`); keep the two in step.
+// Config arrives through the Doppler-synced APP_SECRETS_JSON (only
+// DATABASE_URL). The service derives this stack's KMS alias
+// (`alias/whatsapp-session-service-<stack>`) from ENVIRONMENT; keep the two in step.
const cloudStorageStack = new pulumi.StackReference('cloud-storage-stack', {
name: `macro-inc/document-storage/${stack}`,
diff --git a/infra/stacks/whatsapp-session-service/service.ts b/infra/stacks/whatsapp-session-service/service.ts
index 15276f9807..7bdb630d6c 100644
--- a/infra/stacks/whatsapp-session-service/service.ts
+++ b/infra/stacks/whatsapp-session-service/service.ts
@@ -274,7 +274,7 @@ export class WhatsappSessionService extends pulumi.ComponentResource {
// outlive the drain and its logs and spans still ship.
dependsOn: [
{ containerName: 'log_router', condition: 'START' },
- { containerName: 'datadog-agent', condition: 'START' },
+ { containerName: 'datadog_agent', condition: 'START' },
],
secrets: [...dopplerEcsEnvironment.containerSecrets],
environment: [