diff --git a/codex-rs/core/src/features.rs b/codex-rs/core/src/features.rs index c79bb00bc..a4be91046 100644 --- a/codex-rs/core/src/features.rs +++ b/codex-rs/core/src/features.rs @@ -250,6 +250,9 @@ impl Features { pub fn emit_metrics(&self, otel: &OtelManager) { for feature in FEATURES { + if matches!(feature.stage, Stage::Removed) { + continue; + } if self.enabled(feature.id) != feature.default_enabled { otel.counter( "codex.feature.state",