Skip to content

Tag reports with the selected turn's model and effort - #35802

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/133bab7730e18b28c4b26ae55fbce55d8e5705fb
Jul 28, 2026
Merged

Tag reports with the selected turn's model and effort#35802
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/133bab7730e18b28c4b26ae55fbce55d8e5705fb

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 28, 2026

Copy link
Copy Markdown

Tag reports with the selected turn's model and effort

What changed

  • Read the selected turn's model and reasoning effort from its rollout and add them to the report's upload tags.
  • Use the latest turn context when the request has no turn_id, without substituting another turn when a requested ID is missing.
  • Prefer the request-derived model and effort over values captured in the report snapshot.

Testing

  • Added coverage for selecting a reported turn, falling back to the latest turn, handling a missing turn, preserving an unspecified effort, and upload-tag precedence.

## What changed

- Read the selected turn's `model` and reasoning `effort` from its rollout and add them to the report's upload tags.
- Use the latest turn context when the request has no `turn_id`, without substituting another turn when a requested ID is missing.
- Prefer the request-derived model and effort over values captured in the report snapshot.

## Testing

- Added coverage for selecting a reported turn, falling back to the latest turn, handling a missing turn, preserving an unspecified effort, and upload-tag precedence.

GitOrigin-RevId: 133bab7730e18b28c4b26ae55fbce55d8e5705fb
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/133bab7730e18b28c4b26ae55fbce55d8e5705fb branch from 20eec61 to 8f00b9a Compare July 28, 2026 17:52
@copyberry
copyberry Bot merged commit 8f00b9a into main Jul 28, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/133bab7730e18b28c4b26ae55fbce55d8e5705fb branch July 28, 2026 17:53
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 28, 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.

4 participants