Skip to content

Expose runtime activity in server diagnostics - #37486

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/4bb82a3918af0b502d149b5d761ad669b2083f39
Aug 7, 2026
Merged

Expose runtime activity in server diagnostics#37486
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/4bb82a3918af0b502d149b5d761ad669b2083f39

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 7, 2026

Copy link
Copy Markdown

Expose runtime activity in server diagnostics

What changed

  • Add lifecycle-backed gauges for in-flight and queued app requests, pending server requests and mailbox messages, active turns, and live MCP connections.
  • Register each gauge on first use and decrement it when the tracked work or resource is dropped.
  • Document the new server/diagnostics gauge names and account for the diagnostics request itself in the response example and test.

## What changed

- Add lifecycle-backed gauges for in-flight and queued app requests, pending server requests and mailbox messages, active turns, and live MCP connections.
- Register each gauge on first use and decrement it when the tracked work or resource is dropped.
- Document the new `server/diagnostics` gauge names and account for the diagnostics request itself in the response example and test.

GitOrigin-RevId: 4bb82a3918af0b502d149b5d761ad669b2083f39
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/4bb82a3918af0b502d149b5d761ad669b2083f39 branch from 67648e4 to 27e4a05 Compare August 7, 2026 18:39
@copyberry
copyberry Bot merged commit 27e4a05 into main Aug 7, 2026
30 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/4bb82a3918af0b502d149b5d761ad669b2083f39 branch August 7, 2026 18:40
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 7, 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.

1 participant