Files
codex/codex-rs/core/tests/suite
Dmitriy Kovalenko 8a64bc9c7e Defer tool search indexing until the first search (#63440)
## Why

Tool planning built the search index even on turns that never used
`tool_search`.

## What changed

Build the index on a blocking worker when the first search over a
nonempty tool catalog needs it. Regular and Code Mode searches share
the same build within a handler and reuse the completed index. The
build continues if the search that started it is canceled.

## Testing

Add coverage for deferred indexing, concurrent first searches, and
reuse of an in-progress build after the first search is canceled.

GitOrigin-RevId: eb696e93dbc481a76a5adfe7f5506db971047bd5
2026-11-23 21:23:09 +00:00
..