Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add bounded, correlated observability for CodexPro MCP requests, tool calls, and client sessions.
Changes
start, periodicheartbeat, andfinishevents with request/tool correlation;GET /telemetry/recentwith bounded ring-buffer retention,since_seq,limit, and client-session filtering;bashexits as telemetrystatus:"error"while leaving MCP transport behavior unchanged;scripts/telemetry-smoke.mjsand include it in the standard smoke chain.Validation
Passed locally on Windows:
npm run buildnode scripts/telemetry-smoke.mjsgit diff --checkThe repository-wide Windows smoke suite is not fully green in this environment for pre-existing harness/setup reasons unrelated to this patch:
bash-encoding-smokerequires native Git Bash;settings-smokecollides with the already-running local port 8787;http-smokereaches its Windows child shutdown path and exits with unsettled top-level await;No raw OpenAI session value is stored or returned by the new telemetry API.