Skip to content

[codex-analytics] split compaction v2 analytics implementation#24146

Merged
rhan-oai merged 1 commit into
mainfrom
rhan/compaction-v2-analytics
May 22, 2026
Merged

[codex-analytics] split compaction v2 analytics implementation#24146
rhan-oai merged 1 commit into
mainfrom
rhan/compaction-v2-analytics

Conversation

@rhan-oai
Copy link
Copy Markdown
Collaborator

What changed

  • Add a distinct responses_compaction_v2 value for CodexCompactionEvent.implementation.
  • Emit that value from the remote compaction v2 path.
  • Keep local compaction as responses and legacy /responses/compact as responses_compact.

Why

Remote compaction v2 and local prompt-based compaction were both reported as responses, which made the analytics table collapse two different compaction mechanisms into one implementation bucket.

Validation

  • just fmt
  • just test -p codex-analytics

just test -p codex-core was started locally, but this PR is intentionally being pushed for CI to finish the remaining validation.

@rhan-oai rhan-oai force-pushed the rhan/compaction-v2-analytics branch from d00c0fd to 73d4160 Compare May 22, 2026 21:11
@rhan-oai rhan-oai marked this pull request as ready for review May 22, 2026 21:13
@rhan-oai rhan-oai requested a review from a team as a code owner May 22, 2026 21:13
@rhan-oai rhan-oai changed the title split compaction v2 analytics implementation [codex-analytics] split compaction v2 analytics implementation May 22, 2026
Copy link
Copy Markdown
Collaborator

@won-openai won-openai left a comment

Choose a reason for hiding this comment

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

lgtm, simple pr next time pls

@rhan-oai rhan-oai enabled auto-merge (squash) May 22, 2026 21:31
@rhan-oai
Copy link
Copy Markdown
Collaborator Author

for sure, will condense to 1 line next time

@rhan-oai rhan-oai merged commit 6419402 into main May 22, 2026
31 checks passed
@rhan-oai rhan-oai deleted the rhan/compaction-v2-analytics branch May 22, 2026 21:34
@github-actions github-actions Bot locked and limited conversation to collaborators May 22, 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