fix(retry): prevent replay amplification and isolate backoff (NAN-313)

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-29 11:13:44 +08:00
1 parent b6d9009bb4
commit 4e77d9c3f2
19 files changed
+1178 -587

No files matched your search

@@ -698,7 +698,8 @@ async def test_codex_retry_uses_structured_transient_error_metadata(monkeypatch,
assert response.content == "ok"
assert calls == 2
assert delays == [1]
assert len(delays) == 1
assert 0.5 <= delays[0] <= 1.0
@pytest.mark.asyncio