Skip to content

Fix flaky OpenAI test timeouts#1466

Open
DABH wants to merge 1 commit intomainfrom
fix-openai-test-timeouts
Open

Fix flaky OpenAI test timeouts#1466
DABH wants to merge 1 commit intomainfrom
fix-openai-test-timeouts

Conversation

@DABH
Copy link
Copy Markdown

@DABH DABH commented Apr 19, 2026

Noticed while working on #1448. Encountered repeated failures on 3.14/ubuntu-latest with the tests in question here and then no failures of these tests after these changes.

Summary

  • test_hello_world_agent[False] had a 5s execution_timeout and test_input_guardrail[False] had 10s, but both use a 30s activity start_to_close_timeout
  • The workflow times out before the OpenAI API call can complete on slower CI runners (consistently failing on ubuntu-latest)
  • Bumped both to 60s to give the real OpenAI API calls enough headroom

Test plan

  • Verify build-lint-test (3.14, ubuntu-latest) OpenAI test step passes

test_hello_world_agent[False] had a 5s execution timeout and
test_input_guardrail[False] had a 10s timeout, but both use a 30s
activity start_to_close_timeout. The workflow times out before the
OpenAI API call can complete on slower CI runners. Bump both to 60s.
@DABH DABH requested a review from a team as a code owner April 19, 2026 18:42
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