Skip to content

[codex-analytics] preserve user thread source for exec threads#23376

Merged
rhan-oai merged 1 commit into
mainfrom
mark.steinbrick/exec-thread-source-propagation
May 19, 2026
Merged

[codex-analytics] preserve user thread source for exec threads#23376
rhan-oai merged 1 commit into
mainfrom
mark.steinbrick/exec-thread-source-propagation

Conversation

@marksteinbrick-oai
Copy link
Copy Markdown
Contributor

Why

What Changed

  • Ensures exec threads are marked as user created (thread_source = "user")
  • Preserves thread-source metadata in exec’s startup session event

Verification

  • Updated unit tests to validate exec thread_source propagation.
  • cargo +1.93.0 test -p codex-exec --manifest-path codex-rs/Cargo.toml
  • cargo +1.93.1 build -p codex-cli --manifest-path codex-rs/Cargo.toml
  • Validated locally with a freshly built codex exec run:
    • Startup logs showed thread_source: Some(User).
    • Rollout metadata recorded "thread_source":"user".

@marksteinbrick-oai marksteinbrick-oai marked this pull request as ready for review May 19, 2026 00:06
@rhan-oai rhan-oai merged commit 5696167 into main May 19, 2026
31 checks passed
@rhan-oai rhan-oai deleted the mark.steinbrick/exec-thread-source-propagation branch May 19, 2026 00:13
@github-actions github-actions Bot locked and limited conversation to collaborators May 19, 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