From 2e725aa97c617aabc92d0dfdd00e681237d7b9db Mon Sep 17 00:00:00 2001 From: Roy Han Date: Fri, 27 Mar 2026 10:38:08 -0700 Subject: [PATCH] connection cleanup --- codex-rs/analytics/src/analytics_client.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/codex-rs/analytics/src/analytics_client.rs b/codex-rs/analytics/src/analytics_client.rs index eadcfe876f..d9edc200d0 100644 --- a/codex-rs/analytics/src/analytics_client.rs +++ b/codex-rs/analytics/src/analytics_client.rs @@ -95,10 +95,7 @@ pub enum AnalyticsFact { connection_id: u64, response: Box, }, - Notification { - connection_id: u64, - notification: Box, - }, + Notification(Box), // Facts that do not naturally exist on the app-server protocol surface, or // would require non-trivial protocol reshaping on this branch. Custom(CustomAnalyticsFact), @@ -470,10 +467,7 @@ impl AnalyticsReducer { } => { self.ingest_response(connection_id, *response, out); } - AnalyticsFact::Notification { - connection_id: _connection_id, - notification: _notification, - } => {} + AnalyticsFact::Notification(_notification) => {} AnalyticsFact::Custom(input) => match input { CustomAnalyticsFact::SkillInvoked(input) => { self.ingest_skill_invoked(input, out).await;