Skip to content

[codex-analytics] remove ga flag#19863

Merged
rhan-oai merged 2 commits intomainfrom
rhan/remove-general-analytics
Apr 27, 2026
Merged

[codex-analytics] remove ga flag#19863
rhan-oai merged 2 commits intomainfrom
rhan/remove-general-analytics

Conversation

@rhan-oai
Copy link
Copy Markdown
Collaborator

No description provided.

@rhan-oai rhan-oai marked this pull request as ready for review April 27, 2026 19:14
@rhan-oai rhan-oai requested a review from a team as a code owner April 27, 2026 19:14
Copy link
Copy Markdown
Collaborator

@owenlin0 owenlin0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

config-loading is tolerant if someone still has:

[features]
general_analytics = false/true

in their config.toml, right? I assume so but just wanted to double check

Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 78dc09da85

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +717 to 721
if let ClientRequest::TurnStart { request_id, .. }
| ClientRequest::TurnSteer { request_id, .. } = &codex_request
{
self.analytics_events_client.track_request(
connection_id.0,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Honor legacy general_analytics opt-out

Removing the Feature::GeneralAnalytics guard here causes turn analytics to run for every turn/start and turn/steer. Configs that previously opted out with [features].general_analytics = false are now ignored (the key was removed from codex-rs/features/src/lib.rs), so telemetry resumes unless users also set [analytics].enabled = false, creating an unexpected privacy regression.

Useful? React with 👍 / 👎.

@rhan-oai rhan-oai enabled auto-merge (squash) April 27, 2026 19:25
@rhan-oai rhan-oai merged commit 215d5a8 into main Apr 27, 2026
25 checks passed
@rhan-oai rhan-oai deleted the rhan/remove-general-analytics branch April 27, 2026 19:29
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants