Repository navigation
SUB-2497: Poll durable in-progress runs and retry in-progress 503s - #9
Merged
Merged
Conversation
Drive durable queued/running executes to completion in openai-agents-submilli without application tools while keeping execution_id on lost runs, reset poll backoff after resuming suspended calls, and retry 503 idempotency_in_progress from older servers. Co-authored-by: Antigravity <noreply@google.com>
snlamm
approved these changes
Nov 25, 2026
snlamm
left a comment
Collaborator
There was a problem hiding this comment.
LGTM — verified sync/async retry and poll-backoff behavior in submilli, durable queued/running completion and execution_id preservation in openai-agents-submilli, and parity with submilli-runtime#461 and submilli-typescript#8. Ready to merge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In
openai-agents-submillisessions without application tools, a durableexecutereturningqueuedorrunningafter the server's wait raisedSubmilliErrorinstead of polling the run to completion, andsubmillirefused to retry503 idempotency_in_progressresponses from older servers.This change polls durable
queuedandrunningexecutes to completion while preservingexecution_idif the run is lost, resetsRuns.completepoll backoff after resuming a suspended tool call, and retries503 idempotency_in_progresson keyed requests.Refs SUB-2497.