mirror of
https://github.com/openai/codex.git
synced 2026-05-05 22:01:37 +03: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:
@@ -44,10 +44,9 @@ fn main() -> anyhow::Result<()> {
|
||||
let loader_overrides = if disable_managed_config_from_debug_env() {
|
||||
LoaderOverrides::without_managed_config_for_tests()
|
||||
} else {
|
||||
LoaderOverrides {
|
||||
managed_config_path: managed_config_path_from_debug_env(),
|
||||
..Default::default()
|
||||
}
|
||||
managed_config_path_from_debug_env()
|
||||
.map(LoaderOverrides::with_managed_config_path_for_tests)
|
||||
.unwrap_or_default()
|
||||
};
|
||||
let transport = args.listen;
|
||||
let session_source = args.session_source;
|
||||
|
||||
Reference in New Issue
Block a user