Files
codex/codex-rs
neerajrj-oai 39b9b74ef2 Allow parent-aware thread ID allocation for local child agents (#65359)
## What changed

Add `ThreadManager::with_child_thread_id_generator` so callers can
allocate a local child's thread ID using its parent's ID before the
spawn edge is saved. Use the regular thread ID generator when there is
no parent or no child-specific generator.

## Testing

Update the spawn publication tests to check that the callback receives
the parent ID and to force a collision by returning that ID, verifying
that the existing thread and graph are preserved.

GitOrigin-RevId: a074d5872b576e0464cd9c29ee67128767098ee2
2026-12-02 23:52:07 +00:00
..
…
…
…
…