Revert "[codex-backend] Make thread metadata updates tolerate pending backfill" (#16923)

Reverts openai/codex#16877
This commit is contained in:
joeytrasatti-openai
2026-04-06 17:25:05 -04:00
committed by GitHub
Unverified
parent 756ba8baae
commit 03c07956cf
2 changed files with 0 additions and 71 deletions
@@ -2754,24 +2754,6 @@ impl CodexMessageProcessor {
if state_db_ctx.is_none() {
state_db_ctx = get_state_db(&self.config).await;
}
if state_db_ctx.is_none() {
match StateRuntime::init(
self.config.sqlite_home.clone(),
self.config.model_provider_id.clone(),
)
.await
{
Ok(ctx) => {
state_db_ctx = Some(ctx);
}
Err(err) => {
warn!(
"failed to initialize state db for thread metadata update at {}: {err}",
self.config.sqlite_home.display()
);
}
}
}
let Some(state_db_ctx) = state_db_ctx else {
self.send_internal_error(
request_id,