Repository navigation
ThinkHarness: one stall watchdog, the turn definition's - #3344
Closed
mattzcarey wants to merge 1 commit into
Closed
mattzcarey wants to merge 1 commit into
mattzcarey wants to merge 1 commit into
Conversation
…lls; the harness's own is deleted
|
agents
@cloudflare/ai-chat
@cloudflare/codemode
hono-agents
@cloudflare/shell
@cloudflare/think
@cloudflare/voice
@cloudflare/worker-bundler
commit: |
Contributor
|
✅ agents import sizes: no significant changes ( |
mattzcarey
marked this pull request as ready for review
November 27, 2026 02:16
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.
ThinkHarness now passes
recovery.stallTimeoutMs(default 120 s) to the chat turn definition and deletes its own per-model-call watchdog. The definition's watchdog times only the model since #3289's 0181bd8, not a tool that runs or a call awaiting approval, so the harness no longer needs a second one.This follows Devin's 🔍 on #3295 ("separate watchdog for Think model calls"), which I deferred so #3295's verified head wouldn't move. One stall implementation is left: the definition's. A stall is a transient error there, so the attempt ends with the stream left open and the next one continues the reply, the same as before.
Validated with the harness-think suite, 142 of 142, including the three stall tests unchanged: a stalled model call is recovered, a slow tool isn't held to the stall timeout, and a call whose input a stall cut off is reported as not run. Draft until #3295 merges; it's stacked on it. Cost: none on a turn; the watchdog is one timer either way.