Skip to content

exec-server: trace terminal RPC notifications#31730

Closed
anp-oai wants to merge 2 commits into
codex/exec-server-notification-trace-carrierfrom
codex/exec-server-notification-receive-spans
Closed

exec-server: trace terminal RPC notifications#31730
anp-oai wants to merge 2 commits into
codex/exec-server-notification-trace-carrierfrom
codex/exec-server-notification-receive-spans

Conversation

@anp-oai

@anp-oai anp-oai commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Why

Make terminal server-to-client lifecycle handling visible in the originating distributed trace without exporting a span for every output or body chunk.

What

  • Create receive spans only for process/exited, process/closed, and terminal or error http/request/bodyDelta notifications.
  • Adopt the notification carrier as the parent and record success or error outcomes.
  • Keep process/output and nonterminal body deltas span-free while accepting the universal notification carriers provided by the parent PR.

Manual validation

  • just test -p codex-exec-server — 309 passed, 2 skipped.

Stack

  1. #31687 — 1/5
  2. #31690 — 2/5
  3. #31707 — 3/5
  4. #31729 — 4/5
  5. #31730 — this PR, 5/5

@anp-oai

anp-oai commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: 6de06f080b

ℹ️ 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".

@anp-oai anp-oai force-pushed the codex/exec-server-notification-trace-carrier branch from d6f14a8 to 54fec74 Compare July 10, 2026 00:09
@anp-oai anp-oai force-pushed the codex/exec-server-notification-receive-spans branch from 6de06f0 to a9f4788 Compare July 10, 2026 00:15
@anp-oai anp-oai closed this Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant