mirror of
https://github.com/openai/codex.git
synced 2026-11-26 23:40:43 +00:00
Add debug timing for thread item pagination (#59497)
## What changed - Log `thread/items/list` request IDs, cursor kinds, page sizes, next-page availability, elapsed time, and success status. - Log remote-control item-page response preparation and WebSocket write times, along with request and stream IDs, sequence IDs, frame counts, wire bytes, and success, interruption, or write-error outcomes. Collect these transport metrics only when debug logging is enabled. GitOrigin-RevId: 0f26bef6d6b8cacbd5a5c76c49a5f882669f6598
This commit is contained in:
@@ -1620,7 +1620,9 @@ impl MessageProcessor {
|
||||
self.thread_processor.thread_turns_list(params).await
|
||||
}
|
||||
ClientRequest::ThreadItemsList { params, .. } => {
|
||||
self.thread_processor.thread_items_list(params).await
|
||||
self.thread_processor
|
||||
.thread_items_list(&request_id, params)
|
||||
.await
|
||||
}
|
||||
ClientRequest::ThreadItemsRead { params, .. } => {
|
||||
self.thread_processor.thread_items_read(params).await
|
||||
|
||||
Reference in New Issue
Block a user