Skip to content

feat: honor runtime retry and timeout execution settings in all providers - #42

Merged
brainsparker merged 1 commit into
mainfrom
feat/runtime-execution-controls
Aug 13, 2026
Merged

feat: honor runtime retry and timeout execution settings in all providers#42
brainsparker merged 1 commit into
mainfrom
feat/runtime-execution-controls

Conversation

@brainsparker

Copy link
Copy Markdown
Owner

What this is

A rebase of #2 onto post-consolidation main. The original conflicted with #40 in providers/http.py; this branch carries the same change set resolved against the merged consolidation.

What it does

The config schema exposes execution.retry_attempts, retry_delay_seconds, and timeout_seconds, but providers hardcoded 3 retries / 1s delay and the HTTP-based providers ignored runtime timeout overrides. This threads the execution config from the Runner into every provider call, resolved by two BaseProvider helpers with guardrail clamping (attempts >= 1, delay >= 0, timeout > 0 with provider-config fallback). Also makes the provider factory import lazy so importing the package does not require every optional SDK.

Validation

  • Full suite on this branch: 40 passed, 0 failed (36 post-consolidation plus 4 new runtime-settings tests)

Attribution

Content originally authored in #2; that PR will be closed with a pointer here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant