mirror of
https://github.com/openai/codex.git
synced 2026-05-04 19:36:45 +00:00
[codex-analytics] enable general analytics by default (#17389)
## Summary - Make GeneralAnalytics stable and enabled by default. - Update feature tests and app-server lifecycle fixtures for explicit general_analytics=false. - Keep app-server integration tests isolated from host managed config so explicit feature fixtures are deterministic. ## Validation - cargo test -p codex-features - cargo test -p codex-app-server general_analytics (matched 0 tests) - cargo test -p codex-app-server thread_start_ - cargo test -p codex-app-server thread_fork_ - cargo test -p codex-app-server thread_resume_ - cargo test -p codex-app-server config_read_includes_system_layer_and_overrides
This commit is contained in:
@@ -660,8 +660,8 @@ pub const FEATURES: &[FeatureSpec] = &[
|
||||
FeatureSpec {
|
||||
id: Feature::GeneralAnalytics,
|
||||
key: "general_analytics",
|
||||
stage: Stage::UnderDevelopment,
|
||||
default_enabled: false,
|
||||
stage: Stage::Stable,
|
||||
default_enabled: true,
|
||||
},
|
||||
FeatureSpec {
|
||||
id: Feature::Sqlite,
|
||||
|
||||
@@ -134,9 +134,9 @@ fn tool_search_is_under_development_and_disabled_by_default() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn general_analytics_is_under_development_and_disabled_by_default() {
|
||||
assert_eq!(Feature::GeneralAnalytics.stage(), Stage::UnderDevelopment);
|
||||
assert_eq!(Feature::GeneralAnalytics.default_enabled(), false);
|
||||
fn general_analytics_is_stable_and_enabled_by_default() {
|
||||
assert_eq!(Feature::GeneralAnalytics.stage(), Stage::Stable);
|
||||
assert_eq!(Feature::GeneralAnalytics.default_enabled(), true);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user