Skip to content

Include session IDs in tool item analytics events - #32903

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/73afc0e1be1ddec4fb5a42f43a23f1e87360e68f
Jul 14, 2026
Merged

Include session IDs in tool item analytics events#32903
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/73afc0e1be1ddec4fb5a42f43a23f1e87360e68f

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 14, 2026

Copy link
Copy Markdown

Include session IDs in tool item analytics events

What changed

  • Add session_id to the shared tool item event payload, sourced from the
    thread metadata.
  • Preserve the parent session ID on tool events emitted by subagent threads.

Testing

  • Cover serialization of the session ID for command execution events,
    subagent tool events, and every supported completed tool item type.

## What changed

- Add `session_id` to the shared tool item event payload, sourced from the
  thread metadata.
- Preserve the parent session ID on tool events emitted by subagent threads.

## Testing

- Cover serialization of the session ID for command execution events,
  subagent tool events, and every supported completed tool item type.

GitOrigin-RevId: 73afc0e1be1ddec4fb5a42f43a23f1e87360e68f
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/73afc0e1be1ddec4fb5a42f43a23f1e87360e68f branch from 9e510f0 to 7f3eb8a Compare July 14, 2026 00:20
@copyberry
copyberry Bot merged commit 7f3eb8a into main Jul 14, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/73afc0e1be1ddec4fb5a42f43a23f1e87360e68f branch July 14, 2026 00:21
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 14, 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