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:
Michael Bolin authored and copyberry committed 2026-09-18 00:25:37 +00:00
1 parent 608e4cc9a1
commit ff73d63e64
7 files changed
+28 -15

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ license.workspace = true
workspace = true
[dependencies]
rand = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt", "rt-multi-thread", "time"] }
tokio-util.workspace = true