Files
codex/codex-rs/core/tests
Owen Lin a1deffb5b2 Pass the last inherited turn ID when creating a fork (#65111)
## Why

A thread store that resolves the last inherited turn during fork preparation
can reuse that ID when creating the child instead of resolving it again.

## What changed

Forward the optional `last_inherited_turn_id` from `PreparedFork` to
`CreateThreadParams` alongside the inherited history position. Omit the
field from serialized creation parameters when no ID is available.

## Testing

Add a regression test that checks the in-memory thread store receives the
turn ID supplied by the prepared fork when it creates the child.

GitOrigin-RevId: 709c8cc4a744b2f893af6233e825026a27732873
2026-12-01 23:56:56 +00:00
..