Files
codex/codex-rs/direct-tool-timing/Cargo.toml
T
taohong-oai f371f9701f Capture direct-tool critical paths behind a feature flag (#57201)
## What changed

Add the default-disabled `critical_path_timing` feature to capture dependency paths for root-agent turns. Connect direct tool dispatch, execution-lock handoffs, and completed tool batches to turn timing so overlapping work shares its common history without double counting.

Omit captures for unsupported dependencies, including CodeMode, agent communication, approval review, and user waits. Settle aborted tasks before freezing timing, invalidate captures on forced teardown, and apply runtime feature changes only to future turns.

## Testing

Add coverage for serial and overlapping tool dispatch, execution-lock dependency handoffs, cancellation, unsupported paths, frozen timing after completion, and configuration refresh boundaries.

GitOrigin-RevId: 71458b654b1c4a05799886928b449c948ea33109
2026-10-26 19:19:10 +00:00

21 lines
414 B
TOML

[package]
name = "codex-direct-tool-timing"
version.workspace = true
edition.workspace = true
license.workspace = true
[lints]
workspace = true
[lib]
doctest = false
[dependencies]
codex-utils-critical-path = { workspace = true }
[dev-dependencies]
pretty_assertions = { workspace = true }
test-case = "3.3.1"
tokio = { workspace = true, features = ["macros", "rt", "sync"] }
tokio-util = { workspace = true }