mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
## Why SQLite page reclamation on NFS creates I/O load and contention. ## What changed Detect whether `sqlite_home` is on NFS on Linux and skip reclamation before opening a maintenance connection. Cache successful filesystem probes across `SqliteConfig` clones while allowing failed probes to retry. ## Testing Add tests for shared probe caching and recovery after a missing directory is created. Update reclamation coverage to expect no reclaimed pages or file shrinkage on NFS. GitOrigin-RevId: 4f627cabc6ad712171654c3f8b8659d2f632bbba
35 lines
1.0 KiB
TOML
35 lines
1.0 KiB
TOML
[package]
|
|
name = "codex-state"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
chrono = { workspace = true }
|
|
codex-file-system = { workspace = true }
|
|
codex-history = { workspace = true }
|
|
codex-protocol = { workspace = true }
|
|
codex-utils-absolute-path = { workspace = true }
|
|
file-id = { workspace = true }
|
|
libsqlite3-sys = { workspace = true }
|
|
log = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
sqlx = { workspace = true }
|
|
sqlx-macros = { workspace = true }
|
|
sqlx-sqlite = { workspace = true }
|
|
strum = { workspace = true, features = ["derive"] }
|
|
tokio = { workspace = true, features = ["fs", "io-util", "macros", "rt-multi-thread", "sync", "time"] }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
uuid = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
codex-git-utils = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
scopeguard = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|