Add SQLite init and fallback telemetry

This commit is contained in:
Owen Lin
2026-05-07 17:54:29 -07:00
parent cf941ede15
commit 33b182d805
98 changed files with 2505 additions and 873 deletions

View File

@@ -16,8 +16,12 @@ fn codex_command(codex_home: &Path) -> Result<assert_cmd::Command> {
#[tokio::test]
async fn debug_clear_memories_resets_state_and_removes_memory_dir() -> Result<()> {
let codex_home = TempDir::new()?;
let runtime =
StateRuntime::init(codex_home.path().to_path_buf(), "test-provider".to_string()).await?;
let runtime = StateRuntime::init(
codex_home.path().to_path_buf(),
"test-provider".to_string(),
/*metrics*/ None,
)
.await?;
drop(runtime);
let thread_id = "00000000-0000-0000-0000-000000000123";