Skip to content

Avoid persisting non-local threads for hook transcripts - #35221

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c742984d146f7a3e1048b848198198fc7a64f4de
Jul 24, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 24, 2026 •

Copy link
Copy Markdown

Avoid persisting non-local threads for hook transcripts

Why

Hooks can only consume a transcript path when the thread has a local rollout.

What changed

  • Resolve the local rollout path before materializing the transcript.
  • Return no transcript path for non-local thread stores without persisting them.
  • Continue materializing lazy local rollouts before passing their path to hooks.

Testing

Added session and hook tests covering both non-local thread stores and lazy local rollouts.

## Why

Hooks can only consume a transcript path when the thread has a local rollout.

## What changed

- Resolve the local rollout path before materializing the transcript.
- Return no transcript path for non-local thread stores without persisting them.
- Continue materializing lazy local rollouts before passing their path to hooks.

## Testing

Added session and hook tests covering both non-local thread stores and lazy local rollouts.

GitOrigin-RevId: c742984d146f7a3e1048b848198198fc7a64f4de
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/c742984d146f7a3e1048b848198198fc7a64f4de branch from 547b713 to 99744cf Compare July 24, 2026 17:42
@copyberry
copyberry Bot merged commit 99744cf into main Jul 24, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/c742984d146f7a3e1048b848198198fc7a64f4de branch July 24, 2026 17:43
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 24, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 99744cfe Deployed Jul 24, 2026 by tylercasper via Generate label suggestions #33933
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.