mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Move retry backoff into codex-async-utils (#46330)
Move the exponential backoff helper into `codex-async-utils` so `codex-cloud-config` can use it without a runtime dependency on `codex-core`. Keep `codex-core` as a development dependency for cloud-config tests. Preserve the existing retry delays and jitter, and re-export `backoff` from `codex_core::util` for existing callers. GitOrigin-RevId: 338f3194e166e77003da532310ff5be78a0eac9e
This commit is contained in:
1 parent
608e4cc9a1
commit
ff73d63e64
7 files changed
+28
-15
No files matched your search
@@ -10,10 +10,10 @@ workspace = true
|
||||
[dependencies]
|
||||
base64 = { workspace = true }
|
||||
chrono = { workspace = true, features = ["serde"] }
|
||||
codex-async-utils = { workspace = true }
|
||||
codex-backend-client = { workspace = true }
|
||||
codex-config = { workspace = true }
|
||||
codex-http-client = { workspace = true }
|
||||
codex-core = { workspace = true }
|
||||
codex-login = { workspace = true }
|
||||
codex-otel = { workspace = true }
|
||||
codex-protocol = { workspace = true }
|
||||
@@ -27,6 +27,7 @@ tracing = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
codex-agent-identity = { workspace = true }
|
||||
codex-core = { workspace = true }
|
||||
pretty_assertions = { workspace = true }
|
||||
tempfile = { workspace = true }
|
||||
tokio = { workspace = true, features = ["macros", "rt", "test-util", "time"] }
|
||||
|
||||
Reference in new issue
Block a user