:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(cymbal): use native roots for Temporal Cloud (#73099)
Hugues Pouillot159452fe16da
diff --git a/rust/cymbal/src/modes/notifications/config.rs b/rust/cymbal/src/modes/notifications/config.rsindex 717e03f545bb..75e7b827740d 100644--- a/rust/cymbal/src/modes/notifications/config.rs+++ b/rust/cymbal/src/modes/notifications/config.rs@@ -88,9 +88,6 @@ pub struct NotificationsConfig {#[envconfig(from = "TEMPORAL_CLIENT_KEY", default = "")]pub temporal_client_key: String,- #[envconfig(from = "TEMPORAL_CLIENT_ROOT_CA")]- pub temporal_client_root_ca: Option<String>,-#[envconfig(from = "TEMPORAL_SECRET_KEY", default = "")]pub temporal_secret_key: String,diff --git a/rust/cymbal/src/modes/notifications/temporal.rs b/rust/cymbal/src/modes/notifications/temporal.rsindex 663d0c4be7a8..048f02e45ce0 100644--- a/rust/cymbal/src/modes/notifications/temporal.rs+++ b/rust/cymbal/src/modes/notifications/temporal.rs@@ -63,7 +63,10 @@ impl IssueCreatedWorkflowStarter {namespace: config.temporal_namespace.clone(),client_cert: config.temporal_client_cert.clone(),client_key: config.temporal_client_key.clone(),- server_root_ca_cert: config.temporal_client_root_ca.clone(),+ // Temporal Cloud's server certificate chains to a public CA. Match the+ // Python workers and use native roots rather than the injected CA,+ // which is not the server certificate issuer.+ server_root_ca_cert: None,payload_encryption_key: config.temporal_secret_key.clone(),identity: "cymbal-notifications".to_string(),})