Skip to content

Collect plugin metrics from unified exec commands - #38253

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/43e669e4c77171aec8a798de0c12ca13bfb8adee
Aug 12, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/43e669e4c77171aec8a798de0c12ca13bfb8adee

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Collect plugin metrics from unified exec commands

What changed

  • Create a metrics sidecar for attributed local plugin commands launched through unified exec, and grant the sandbox access to its output file.
  • Publish valid measurements when the initial command exits, while discarding the sidecar when the process remains live for later polling.
  • Strip inherited or configured CODEX_PLUGIN_METRICS_OUTPUT values so each command can only use its own sidecar.

## What changed

- Create a metrics sidecar for attributed local plugin commands launched through unified exec, and grant the sandbox access to its output file.
- Publish valid measurements when the initial command exits, while discarding the sidecar when the process remains live for later polling.
- Strip inherited or configured `CODEX_PLUGIN_METRICS_OUTPUT` values so each command can only use its own sidecar.

GitOrigin-RevId: 43e669e4c77171aec8a798de0c12ca13bfb8adee
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/43e669e4c77171aec8a798de0c12ca13bfb8adee branch from add0371 to 6e7daed Compare August 12, 2026 21:28
@copyberry
copyberry Bot merged commit 6e7daed into main Aug 12, 2026
28 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/43e669e4c77171aec8a798de0c12ca13bfb8adee branch August 12, 2026 21:29
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 12, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 6e7daed1 Deployed Aug 12, 2026 by omarpinarecords via Generate label suggestions #37483
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.

3 participants