mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
## Why Dropping the remote client or cancelling its shutdown could leave the WebSocket transport worker running, even if it was stalled on a socket write. ## What changed Give the client an abort-on-drop task handle so dropping the client or cancelling its shutdown future aborts the transport worker. ## Testing Extend the full command queue regression test to cover shutdown, shutdown cancellation, and direct client drop. Each case verifies that the worker releases its command receiver and terminates. GitOrigin-RevId: a5a83b3ab8520d4096be444bc24676ac9c444cb1
33 lines
915 B
TOML
33 lines
915 B
TOML
[package]
|
|
name = "codex-app-server-remote-client"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lib]
|
|
name = "codex_app_server_remote_client"
|
|
path = "src/lib.rs"
|
|
doctest = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
codex-app-server-protocol = { workspace = true }
|
|
codex-uds = { workspace = true }
|
|
codex-utils-absolute-path = { workspace = true }
|
|
codex-utils-rustls-provider = { workspace = true }
|
|
futures = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tokio = { workspace = true, features = ["sync", "time", "rt"] }
|
|
tokio-tungstenite = { workspace = true }
|
|
tokio-util = { workspace = true, features = ["rt"] }
|
|
tracing = { workspace = true }
|
|
url = { workspace = true }
|
|
zstd = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = { workspace = true }
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "test-util"] }
|