Files
codex/codex-rs/statsig
iceweasel-oai 598083ae58 Route Statsig requests through Codex's HTTP client (#63438)
## Why

Statsig requests need to honor the caller's proxy, TLS, and network policy
settings.

## What changed

Add a `codex-statsig` crate that adapts a caller-supplied
`RouteAwareClientPool` to the Statsig SDK's HTTP interface. The adapter
requests identity encoding, applies the SDK's timeout and optional
response body limit, and leaves HTTP status handling and retries to the SDK.

## Testing

Mock-server tests cover request forwarding, preservation of HTTP error
responses, response size limits, timeout error mapping, and policy denial
before a request reaches the server.

GitOrigin-RevId: 6e78435f1f93ee272977b2f0058afd8f485cf4e0
2026-11-23 21:05:43 +00:00
..
…