Skip to content

fix(e2e): apply cold-start budget to Tavily test conversation readiness - #1245

Draft
aivong-openhands wants to merge 1 commit into
mainfrom
fix/e2e-tavily-readiness-timeout
Draft

aivong-openhands wants to merge 1 commit into
mainfrom
fix/e2e-tavily-readiness-timeout

Conversation

@aivong-openhands

@aivong-openhands aivong-openhands commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Why

The "should be able to use Tavily search" test set a 240s per-test cap to absorb a sandbox cold start, but called waitForConversationReady() with no argument, leaving readiness pinned to its 120s default. A cold start past 120s then failed readiness (Error: Conversation did not become ready within 120000ms) before the conversation ran, with the reserved budget unused. This passes an explicit 180s readiness budget and raises the per-test cap to 360s so readiness plus the prompt and answer waits (180s each) fit within it.

waitForConversationReady() is a deterministic, web-first wait that races the "Waiting for task" state against the error banner, so widening its budget accommodates a genuinely slow cold start without masking failures — a conversation that errors still fails fast, and one that never provisions still fails at 180s.


This PR was drafted by an AI agent on behalf of the user.

The Tavily test raised its per-test cap to 240s to absorb sandbox cold
starts, but called waitForConversationReady() with no argument, so readiness
stayed capped at its 120s default. A cold start beyond 120s therefore failed
readiness before the conversation ran (Error: Conversation did not become
ready within 120000ms, observed on unstable) despite the larger per-test
budget going unused.

Pass an explicit 180s readiness budget and raise the per-test cap to 360s so
readiness plus the prompt/answer waits fit.

Co-authored-by: openhands <openhands@all-hands.dev>

This branch has not been deployed

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

Labels

type: fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant