Repository navigation
test(think): public successors for the recovery budget's give-ups (group A, batch 2) - #3437
Closed
mattzcarey wants to merge 3 commits into
Closed
mattzcarey wants to merge 3 commits into
mattzcarey wants to merge 3 commits into
Conversation
|
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
force-pushed
the
slim/harness-A-successors-2
branch
from
November 27, 2026 09:06
34fa4e3 to
a16f0c4
Compare
mattzcarey
force-pushed
the
slim/harness-A-successors-1
branch
from
November 27, 2026 09:12
76c7b73 to
4195d73
Compare
mattzcarey
force-pushed
the
slim/harness-A-successors-2
branch
2 times, most recently
from
November 27, 2026 09:19
f4ed585 to
e5cf256
Compare
mattzcarey
force-pushed
the
slim/harness-A-successors-1
branch
from
November 27, 2026 09:55
b2ca39a to
2aae406
Compare
mattzcarey
force-pushed
the
slim/harness-A-successors-2
branch
from
November 27, 2026 09:56
e5cf256 to
900c2d3
Compare
mattzcarey
force-pushed
the
slim/harness-A-successors-2
branch
from
November 27, 2026 10:33
900c2d3 to
213aaa8
Compare
mattzcarey
marked this pull request as ready for review
November 27, 2026 10:34
mattzcarey
force-pushed
the
slim/harness-A-successors-2
branch
2 times, most recently
from
November 27, 2026 11:42
3f218b2 to
d833f44
Compare
…x_attempts_exceeded and recovery_aborted through onExhausted
…ery only once the agent is idle
mattzcarey
force-pushed
the
slim/harness-A-successors-2
branch
from
November 27, 2026 12:03
d833f44 to
c9e7767
Compare
Member
Author
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.
Group A's second batch of successors: when chat recovery gives up, and what
onExhaustedis told, through public behaviour on both configs. Theme (c), second in harness's order (A-4). Stacked on #3432. Tests only, no changeset.A new fixture,
armLastingStallForTest, stalls the next model streams and setschatRecovery(maxAttempts, anonExhaustedthat records, and optionallyshouldKeepRecovering) for as long as the agent lives. The test starts a turn and pollsrecoveryProgressForTestuntil recovery gives up. A'sstallRecoveryForTestcan't show a give-up: it returns after the first attempt, and it putschatRecoveryback before the attempts scheduled behind it run. Harness is told.The rows for the old tests they succeed come once these pass on the shell: 7052's "routes a stall through the same exhaustion path…", 4359's "exhausts chat recovery after the configured max attempts", and 4849's "seals when the shouldKeepRecovering predicate returns false". #3387's check needs a successor that passes there. "Progress resets the budget" (4634 and its siblings) needs a model that writes new text on each attempt, so it's the next batch.