mirror of
https://github.com/openai/codex.git
synced 2026-11-13 06:45:07 +00:00
[codex] Migrate thread turns list to thread store (#19280)
- migrate `thread/turns/list` to ThreadStore. Uses ThreadStore for most data now but merges in the in-memory state from thread manager - keep v2 `thread/list` pathless-store friendly by converting `StoredThread` directly to API `Thread` - add regression coverage for pathless store history/listing
This commit is contained in:
12 files changed
+713
-192
No files matched your search
@@ -61,9 +61,9 @@ pub struct InMemoryThreadStoreCalls {
|
||||
pub unarchive_thread: usize,
|
||||
}
|
||||
|
||||
/// Test-only in-memory [`ThreadStore`] implementation.
|
||||
/// In-memory [`ThreadStore`] implementation for tests and debug configs.
|
||||
///
|
||||
/// Debug/test configs can select this store by id, letting tests exercise
|
||||
/// Test and debug configs can select this store by id, letting tests exercise
|
||||
/// config-driven non-local persistence without requiring the real remote gRPC
|
||||
/// service.
|
||||
#[derive(Default)]
|
||||
|
||||
Reference in new issue
Block a user