Skip to content

Add adaptive provider retry experiment - #500

Draft
DarlingtonDeveloper wants to merge 3 commits into
mainfrom
codex/adaptive-provider-retry
Draft

DarlingtonDeveloper wants to merge 3 commits into
mainfrom
codex/adaptive-provider-retry

Conversation

@DarlingtonDeveloper

@DarlingtonDeveloper DarlingtonDeveloper commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Add an opt-in adaptive_v1 provider-retry policy for fx ask, with a three-attempt response budget and escalating 30/60/120-second response-head deadlines. Exhaustion persists a paused recovery checkpoint; a successful retry returns normally.

Updated against main at c5cc64cb5518ef8e92f59e3ce2caf32f13d5f860. Main now retries transient failures patiently, so the strict experimental budget is explicitly passed to its current recovery policy. With the experiment off, patient response-head waiting and the ten-minute mid-stream stall window are preserved. Connectivity and liveness probes remain separate from billable retries.

Validation: local ReleaseSafe build; focused retry-policy and transport-timing tests; built-binary E2E verifies exactly three failed attempts before pause and successful recovery on the third attempt (16 assertions); formatting and public-surface checks. Exact-current-commit Full CI remains required.

Historical August benchmark snapshots are not results for this updated implementation. A new full-suite hosted matrix is prepared; no current benchmark improvement is claimed.

@DarlingtonDeveloper DarlingtonDeveloper added the type: improvement Improves existing user-facing behavior label Aug 28, 2026
…er-retry

# Conflicts:
#	src/core/agent/runtime/orchestrator.zig
@DarlingtonDeveloper
DarlingtonDeveloper marked this pull request as ready for review August 31, 2026 16:23
@DarlingtonDeveloper
DarlingtonDeveloper marked this pull request as draft September 18, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: improvement Improves existing user-facing behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant