Lightweight coding agent that runs in your terminal
Rust
Added a test to verify that feature flags that are enabled by default are stable (#11275)
Eric Traut537102e657c5
diff --git a/codex-rs/core/src/features.rs b/codex-rs/core/src/features.rsindex 2fbf814033..005fb4c87b 100644--- a/codex-rs/core/src/features.rs+++ b/codex-rs/core/src/features.rs@@ -688,6 +688,21 @@ mod tests {}}+ #[test]+ fn default_enabled_features_are_stable() {+ for spec in FEATURES {+ if spec.default_enabled {+ assert_eq!(+ spec.stage,+ Stage::Stable,+ "feature `{}` is enabled by default but is not stable ({:?})",+ spec.key,+ spec.stage+ );+ }+ }+ }+#[cfg(target_os = "linux")]#[test]fn use_linux_sandbox_bwrap_is_experimental_on_linux() {