Skip to content

Codex VScode extension not loading previous conversation #19478

@johnolusetire

Description

@johnolusetire

What version of the IDE extension are you using?

26.422.30944

What subscription do you have?

Plus

Which IDE are you using?

VS Code (server)

What platform is your computer?

Linux 4.18.0-553.33.1.el8_10.x86_64 x86_64 x86_64

What issue are you seeing?

Codex never loads my previous conversations.

The logs i get whenver i open a previous conversation

2026-04-24 21:09:49.454 [warning] [IpcClient] Received broadcast but no handler is configured method=query-cache-invalidate
2026-04-24 21:09:49.882 [warning] [CodexMcpConnection] cli: message="sqlx::query: slow statement: execution time exceeded alert threshold summary=\"SELECT version, checksum FROM …\" db.statement=\"\\n\\nSELECT version, checksum FROM _sqlx_migrations ORDER BY version\\n\" rows_affected=0 rows_returned=2 elapsed=5.117696881s elapsed_secs=5.117696881 slow_threshold=1s"
2026-04-24 21:09:49.888 [warning] [CodexMcpConnection] cli: message="sqlx::query: slow statement: execution time exceeded alert threshold summary=\"PRAGMA wal_checkpoint(TRUNCATE)\" db.statement=\"\" rows_affected=0 rows_returned=1 elapsed=5.121098009s elapsed_secs=5.121098009 slow_threshold=1s"
2026-04-24 21:09:49.899 [error] [CodexMcpConnection] cli: message="2026-04-25T01:09:49.899192Z  WARN sqlx::query: slow statement: execution time exceeded alert threshold summary=\"PRAGMA auto_vacuum = INCREMENTAL; …\" db.statement=\"\\n\\nPRAGMA auto_vacuum = INCREMENTAL; PRAGMA journal_mode = WAL; PRAGMA foreign_keys = ON; PRAGMA synchronous = NORMAL; \\n\" rows_affected=0 rows_returned=1 elapsed=10.137567518s elapsed_secs=10.137567518 slow_threshold=1s\n2026-04-25T01:09:49.899361Z  WARN sqlx::pool::acquire: acquired connection, but time to acquire exceeded slow threshold aquired_after_secs=10.13785396 slow_acquire_threshold_secs=2.0"
2026-04-24 21:09:49.916 [warning] [CodexMcpConnection] cli: message="sqlx::query: slow statement: execution time exceeded alert threshold summary=\"PRAGMA auto_vacuum = INCREMENTAL; …\" db.statement=\"\\n\\nPRAGMA auto_vacuum = INCREMENTAL; PRAGMA journal_mode = WAL; PRAGMA foreign_keys = ON; PRAGMA synchronous = NORMAL; \\n\" rows_affected=0 rows_returned=1 elapsed=9.852263305s elapsed_secs=9.852263305 slow_threshold=1s"
2026-04-24 21:09:49.916 [warning] [CodexMcpConnection] cli: message="sqlx::pool::acquire: acquired connection, but time to acquire exceeded slow threshold aquired_after_secs=9.852570305 slow_acquire_threshold_secs=2.0"
2026-04-24 21:09:55.023 [warning] [CodexMcpConnection] cli: message="sqlx::query: slow statement: execution time exceeded alert threshold summary=\"CREATE TABLE IF NOT …\" db.statement=\"\\n\\n\\nCREATE TABLE IF NOT EXISTS _sqlx_migrations (\\n    version BIGINT PRIMARY KEY,\\n    description TEXT NOT NULL,\\n    installed_on TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\\n    success BOOLEAN NOT NULL,\\n    checksum BLOB NOT NULL,\\n    execution_time BIGINT NOT NULL\\n);\\n                \\n\" rows_affected=0 rows_returned=0 elapsed=5.106661486s elapsed_secs=5.106661486 slow_threshold=1s"
2026-04-24 21:09:55.026 [warning] [CodexMcpConnection] cli: message="sqlx::query: slow statement: execution time exceeded alert threshold summary=\"DELETE FROM logs WHERE …\" db.statement=\"\\n\\nDELETE FROM logs WHERE ts < ?\\n\" rows_affected=0 rows_returned=0 elapsed=5.116186596s elapsed_secs=5.116186596 slow_threshold=1s"
2026-04-24 21:09:55.042 [error] [CodexMcpConnection] cli: message="2026-04-25T01:09:55.042579Z  WARN sqlx::query: slow statement: execution time exceeded alert threshold summary=\"PRAGMA auto_vacuum = INCREMENTAL; …\" db.statement=\"\\n\\nPRAGMA auto_vacuum = INCREMENTAL; PRAGMA journal_mode = WAL; PRAGMA foreign_keys = ON; PRAGMA synchronous = NORMAL; \\n\" rows_affected=0 rows_returned=1 elapsed=5.096688158s elapsed_secs=5.096688158 slow_threshold=1s\n2026-04-25T01:09:55.042610Z  WARN sqlx::pool::acquire: acquired connection, but time to acquire exceeded slow threshold aquired_after_secs=5.096829866 slow_acquire_threshold_secs=2.0"
2026-04-24 21:10:00.140 [warning] [CodexMcpConnection] cli: message="sqlx::query: slow statement: execution time exceeded alert threshold summary=\"CREATE TABLE IF NOT …\" db.statement=\"\\n\\n\\nCREATE TABLE IF NOT EXISTS _sqlx_migrations (\\n    version BIGINT PRIMARY KEY,\\n    description TEXT NOT NULL,\\n    installed_on TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\\n    success BOOLEAN NOT NULL,\\n    checksum BLOB NOT NULL,\\n    execution_time BIGINT NOT NULL\\n);\\n                \\n\" rows_affected=0 rows_returned=0 elapsed=5.097230934s elapsed_secs=5.097230934 slow_threshold=1s"
2026-04-24 21:10:00.141 [warning] [CodexMcpConnection] cli: message="sqlx::query: slow statement: execution time exceeded alert threshold summary=\"DELETE FROM logs WHERE …\" db.statement=\"\\n\\nDELETE FROM logs WHERE ts < ?\\n\" rows_affected=0 rows_returned=0 elapsed=5.109029491s elapsed_secs=5.109029491 slow_threshold=1s"2026-04-24 21:09:49.454 [warning] [IpcClient] Received broadcast but no handler is configured method=query-cache-invalidate
2026-04-24 21:09:49.882 [warning] [CodexMcpConnection] cli: message="sqlx::query: slow statement: execution time exceeded alert threshold summary=\"SELECT version, checksum FROM …\" db.statement=\"\\n\\nSELECT version, checksum FROM _sqlx_migrations ORDER BY version\\n\" rows_affected=0 rows_returned=2 elapsed=5.117696881s elapsed_secs=5.117696881 slow_threshold=1s"
2026-04-24 21:09:49.888 [warning] [CodexMcpConnection] cli: message="sqlx::query: slow statement: execution time exceeded alert threshold summary=\"PRAGMA wal_checkpoint(TRUNCATE)\" db.statement=\"\" rows_affected=0 rows_returned=1 elapsed=5.121098009s elapsed_secs=5.121098009 slow_threshold=1s"
2026-04-24 21:09:49.899 [error] [CodexMcpConnection] cli: message="2026-04-25T01:09:49.899192Z  WARN sqlx::query: slow statement: execution time exceeded alert threshold summary=\"PRAGMA auto_vacuum = INCREMENTAL; …\" db.statement=\"\\n\\nPRAGMA auto_vacuum = INCREMENTAL; PRAGMA journal_mode = WAL; PRAGMA foreign_keys = ON; PRAGMA synchronous = NORMAL; \\n\" rows_affected=0 rows_returned=1 elapsed=10.137567518s elapsed_secs=10.137567518 slow_threshold=1s\n2026-04-25T01:09:49.899361Z  WARN sqlx::pool::acquire: acquired connection, but time to acquire exceeded slow threshold aquired_after_secs=10.13785396 slow_acquire_threshold_secs=2.0"
2026-04-24 21:09:49.916 [warning] [CodexMcpConnection] cli: message="sqlx::query: slow statement: execution time exceeded alert threshold summary=\"PRAGMA auto_vacuum = INCREMENTAL; …\" db.statement=\"\\n\\nPRAGMA auto_vacuum = INCREMENTAL; PRAGMA journal_mode = WAL; PRAGMA foreign_keys = ON; PRAGMA synchronous = NORMAL; \\n\" rows_affected=0 rows_returned=1 elapsed=9.852263305s elapsed_secs=9.852263305 slow_threshold=1s"
2026-04-24 21:09:49.916 [warning] [CodexMcpConnection] cli: message="sqlx::pool::acquire: acquired connection, but time to acquire exceeded slow threshold aquired_after_secs=9.852570305 slow_acquire_threshold_secs=2.0"
2026-04-24 21:09:55.023 [warning] [CodexMcpConnection] cli: message="sqlx::query: slow statement: execution time exceeded alert threshold summary=\"CREATE TABLE IF NOT …\" db.statement=\"\\n\\n\\nCREATE TABLE IF NOT EXISTS _sqlx_migrations (\\n    version BIGINT PRIMARY KEY,\\n    description TEXT NOT NULL,\\n    installed_on TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\\n    success BOOLEAN NOT NULL,\\n    checksum BLOB NOT NULL,\\n    execution_time BIGINT NOT NULL\\n);\\n                \\n\" rows_affected=0 rows_returned=0 elapsed=5.106661486s elapsed_secs=5.106661486 slow_threshold=1s"
2026-04-24 21:09:55.026 [warning] [CodexMcpConnection] cli: message="sqlx::query: slow statement: execution time exceeded alert threshold summary=\"DELETE FROM logs WHERE …\" db.statement=\"\\n\\nDELETE FROM logs WHERE ts < ?\\n\" rows_affected=0 rows_returned=0 elapsed=5.116186596s elapsed_secs=5.116186596 slow_threshold=1s"
2026-04-24 21:09:55.042 [error] [CodexMcpConnection] cli: message="2026-04-25T01:09:55.042579Z  WARN sqlx::query: slow statement: execution time exceeded alert threshold summary=\"PRAGMA auto_vacuum = INCREMENTAL; …\" db.statement=\"\\n\\nPRAGMA auto_vacuum = INCREMENTAL; PRAGMA journal_mode = WAL; PRAGMA foreign_keys = ON; PRAGMA synchronous = NORMAL; \\n\" rows_affected=0 rows_returned=1 elapsed=5.096688158s elapsed_secs=5.096688158 slow_threshold=1s\n2026-04-25T01:09:55.042610Z  WARN sqlx::pool::acquire: acquired connection, but time to acquire exceeded slow threshold aquired_after_secs=5.096829866 slow_acquire_threshold_secs=2.0"
2026-04-24 21:10:00.140 [warning] [CodexMcpConnection] cli: message="sqlx::query: slow statement: execution time exceeded alert threshold summary=\"CREATE TABLE IF NOT …\" db.statement=\"\\n\\n\\nCREATE TABLE IF NOT EXISTS _sqlx_migrations (\\n    version BIGINT PRIMARY KEY,\\n    description TEXT NOT NULL,\\n    installed_on TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\\n    success BOOLEAN NOT NULL,\\n    checksum BLOB NOT NULL,\\n    execution_time BIGINT NOT NULL\\n);\\n                \\n\" rows_affected=0 rows_returned=0 elapsed=5.097230934s elapsed_secs=5.097230934 slow_threshold=1s"
2026-04-24 21:10:00.141 [warning] [CodexMcpConnection] cli: message="sqlx::query: slow statement: execution time exceeded alert threshold summary=\"DELETE FROM logs WHERE …\" db.statement=\"\\n\\nDELETE FROM logs WHERE ts < ?\\n\" rows_affected=0 rows_returned=0 elapsed=5.109029491s elapsed_secs=5.109029491 slow_threshold=1s"

I have confirmed that all the logs still exist in the .codex directory.

It makes it literally unusable because i have to start a new session when i am working on the same project.

What steps can reproduce the bug?

Try resuming a chat in a remote vs code session.

What is the expected behavior?

That i can continue a previous chat in the same workspace/project.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extensionsessionIssues involving session (thread) management, resuming, forking, naming, archiving

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions