mirror of
https://github.com/openai/codex.git
synced 2026-09-06 15:29:32 +00:00
## Why Paginated thread history needs its own SQLite database to avoid adding lock contention to the main state store. ## What changed - Add the `thread_history_1.sqlite` path and migration scaffolding. - Create tables and pagination indexes for projected turns and items, plus a per-thread projection checkpoint. - Register the database with runtime diagnostics, Bazel inputs, and database telemetry. GitOrigin-RevId: d194310835f1df2a2a29c7827d77ca37eabbd0a3
14 lines
305 B
Python
14 lines
305 B
Python
load("//:defs.bzl", "codex_rust_crate")
|
|
|
|
codex_rust_crate(
|
|
name = "state",
|
|
compile_data = glob([
|
|
"goals_migrations/**",
|
|
"logs_migrations/**",
|
|
"memory_migrations/**",
|
|
"migrations/**",
|
|
"thread_history_migrations/**",
|
|
]),
|
|
crate_name = "codex_state",
|
|
)
|