Skip to content

fix(client): stop polling when sleep exhausts the timeout - #121

Open
Chris0Jeky wants to merge 2 commits into
google:mainfrom
Chris0Jeky:codex/submit-poll-deadline
Open

Chris0Jeky wants to merge 2 commits into
google:mainfrom
Chris0Jeky:codex/submit-poll-deadline

Conversation

@Chris0Jeky

Copy link
Copy Markdown

Stop starting another status poll when sleep has exhausted the wait timeout. Requests already in flight can still finish later; timing out does not stop the remote task.

This complements #84's input validation. 27 client tests pass on Windows Python 3.10/3.12/3.13; exact-expiry and oversleep cases fail on unchanged main. Package lint/format pass. Previously measured Linux full tests had the same 95 failures on base and candidate, with 11 existing lint findings; those full runs predate the test-only Python 3.10 compatibility fix.

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