Skip to content

Correlate code mode tool analytics with model responses - #36729

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8b34ab59c1ad68ebbd57f9c8a05f19ab04df48a4
Aug 3, 2026
Merged

Correlate code mode tool analytics with model responses#36729
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8b34ab59c1ad68ebbd57f9c8a05f19ab04df48a4

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 3, 2026

Copy link
Copy Markdown

Correlate code mode tool analytics with model responses

What changed

  • Emit dynamic tool-call analytics for code mode exec and wait calls, including duration and terminal status.
  • Associate code-mode cells and their nested tool calls with the originating and subsequent model response IDs.
  • Buffer correlated tool events until the next response is known, while flushing pending events when turns, threads, or the analytics queue close.

Testing

  • Add reducer coverage for correlating exec, wait, and nested tool events across turns.
  • Add an app-server test that verifies production analytics include the cell and response IDs for a code-mode exec call.
## What changed

- Emit dynamic tool-call analytics for code mode `exec` and `wait` calls, including duration and terminal status.
- Associate code-mode cells and their nested tool calls with the originating and subsequent model response IDs.
- Buffer correlated tool events until the next response is known, while flushing pending events when turns, threads, or the analytics queue close.

## Testing

- Add reducer coverage for correlating `exec`, `wait`, and nested tool events across turns.
- Add an app-server test that verifies production analytics include the cell and response IDs for a code-mode `exec` call.

GitOrigin-RevId: 8b34ab59c1ad68ebbd57f9c8a05f19ab04df48a4
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/8b34ab59c1ad68ebbd57f9c8a05f19ab04df48a4 branch from 5e2da66 to 155f1ca Compare August 3, 2026 10:20
@copyberry
copyberry Bot merged commit 155f1ca into main Aug 3, 2026
28 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/8b34ab59c1ad68ebbd57f9c8a05f19ab04df48a4 branch August 3, 2026 10:21
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

1 participant