Files
codex/codex-rs/app-server/tests
Brent Traut 9202c7916b Search inline link labels in user messages (#63758)
## Why

Searching raw user messages can return hits from Markdown link destinations
that readers never see in the link label.

## What changed

Use inline Markdown link labels for user-message matches and snippets while
preserving surrounding whitespace and code blocks. Keep literal text for
messages with byte-ranged inline elements.

Reject cursors that counted raw-text matches because hidden URL hits could
shift the index and cause pagination to skip a visible match.

## Testing

Extend the thread search integration test to check match offsets, snippet
formatting, pagination, and rejection of a raw-text cursor.

GitOrigin-RevId: 19af5ab4aa16933e83b4eb2cb15e57cc92597b6b
2026-11-24 22:46:22 +00:00
..