chore: do not disable memories for past rollouts on reset (#17919)

This commit is contained in:
jif-oai
2026-04-15 12:05:39 +01:00
committed by GitHub
parent b99a62c526
commit 5e544be3c9
5 changed files with 34 additions and 64 deletions

View File

@@ -125,12 +125,6 @@ INSERT INTO jobs (
.fetch_one(&pool)
.await?;
assert_eq!(memory_jobs_count, 0);
let memory_mode: String = sqlx::query_scalar("SELECT memory_mode FROM threads WHERE id = ?")
.bind(thread_id)
.fetch_one(&pool)
.await?;
assert_eq!(memory_mode, "disabled");
assert!(!memory_root.exists());
Ok(())