chore: drop log DB (#16433)

Drop the log table from the state DB
This commit is contained in:
jif-oai
2026-04-01 15:49:17 +02:00
committed by GitHub
parent 5bbfee69b6
commit c846a57d03
2 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
PRAGMA auto_vacuum = INCREMENTAL;
DROP TABLE IF EXISTS logs;

View File

@@ -590,10 +590,8 @@ mod tests {
.await
.expect("insert test logs");
let state_count = log_row_count(state_db_path(codex_home.as_path()).as_path()).await;
let logs_count = log_row_count(logs_db_path(codex_home.as_path()).as_path()).await;
assert_eq!(state_count, 0);
assert_eq!(logs_count, 1);
let _ = tokio::fs::remove_dir_all(codex_home).await;