mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Revert thread recencyAt for sidebar ordering (#28655)
## Why Revert #27910 to remove the newly introduced thread `recencyAt` persistence and API behavior from `main`. ## What changed This reverts commit `fac3158c2a783095768076489815f361fa9b0db4`, including the state migration, thread-store propagation, app-server API surface, generated schemas, and related tests. ## Validation Not run before opening; relying on CI for the initial fast signal.
This commit is contained in:
1 parent
0a3ad4c4ba
commit
cb15c64760
67 files changed
+95
-1150
No files matched your search
@@ -136,7 +136,6 @@ mod tests {
|
||||
model_provider: "openai".to_string(),
|
||||
created_at: 0,
|
||||
updated_at: 0,
|
||||
recency_at: Some(0),
|
||||
status: ThreadStatus::Idle,
|
||||
path: None,
|
||||
cwd: test_path_buf("/tmp").abs(),
|
||||
|
||||
@@ -2881,7 +2881,6 @@ async fn inactive_thread_started_notification_initializes_replay_session() -> Re
|
||||
model_provider: "agent-provider".to_string(),
|
||||
created_at: 1,
|
||||
updated_at: 2,
|
||||
recency_at: Some(2),
|
||||
status: codex_app_server_protocol::ThreadStatus::Idle,
|
||||
path: Some(rollout_path.clone()),
|
||||
cwd: test_path_buf("/tmp/agent").abs(),
|
||||
@@ -2974,7 +2973,6 @@ async fn inactive_thread_started_notification_preserves_primary_model_when_path_
|
||||
model_provider: "agent-provider".to_string(),
|
||||
created_at: 1,
|
||||
updated_at: 2,
|
||||
recency_at: Some(2),
|
||||
status: codex_app_server_protocol::ThreadStatus::Idle,
|
||||
path: None,
|
||||
cwd: test_path_buf("/tmp/agent").abs(),
|
||||
@@ -3034,7 +3032,6 @@ async fn thread_read_session_state_does_not_reuse_primary_permission_profile() {
|
||||
model_provider: "read-provider".to_string(),
|
||||
created_at: 1,
|
||||
updated_at: 2,
|
||||
recency_at: Some(2),
|
||||
status: codex_app_server_protocol::ThreadStatus::Idle,
|
||||
path: None,
|
||||
cwd: test_path_buf("/tmp/read").abs(),
|
||||
@@ -5646,7 +5643,6 @@ async fn thread_rollback_response_discards_queued_active_thread_events() {
|
||||
model_provider: "openai".to_string(),
|
||||
created_at: 0,
|
||||
updated_at: 0,
|
||||
recency_at: Some(0),
|
||||
status: codex_app_server_protocol::ThreadStatus::Idle,
|
||||
path: None,
|
||||
cwd: test_path_buf("/tmp/project").abs(),
|
||||
|
||||
@@ -417,7 +417,6 @@ mod tests {
|
||||
model_provider: "read-provider".to_string(),
|
||||
created_at: 1,
|
||||
updated_at: 2,
|
||||
recency_at: Some(2),
|
||||
status: codex_app_server_protocol::ThreadStatus::Idle,
|
||||
path: None,
|
||||
cwd: test_path_buf("/tmp/read").abs(),
|
||||
|
||||
Reference in new issue
Block a user