Repository navigation
test(think): group A chat-recovery successors, batch 3 (regeneration and opened-stream resets, a messenger reply, a submission, four mechanics-only rows) - #3473
Merged
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
marked this pull request as draft
November 27, 2026 12:24
… cut off: retried as a new branch
…stream opened, before any text
…-cut successor (the fourth such row arch allowed)
…a reset also cut: answered once, nothing failed posted
…ecovery debounce or the old ceiling are mechanics-only (the deputy's fallback; for the reviewer to confirm)
…et also cut: running, then completed once (group A, theme f)
…s exist (rv-6: they're app-visible)
…swer, keeps the earlier one unchanged and asks once without it; the opened-stream retry keeps the question's id and asks once; the messenger and submission successors re-read after their barrier and check one reply; no progress row is mechanics-only
…rt noProgressTimeoutMs: progress keeps a turn recovering past it, and resets that bring nothing seal with no_progress_timeout
mattzcarey
force-pushed
the
slim/harness-A-successors-9
branch
from
November 27, 2026 12:39
98f8893 to
27c79c7
Compare
mattzcarey
marked this pull request as ready for review
November 27, 2026 12:49
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 next chat-recovery successors, one commit per change, through public behaviour. Tests only, no changeset. This follows #3437 and #3455.
A pre-stream regeneration a reset cut off (5443) is retried as a new branch, and the earlier answer is kept. The reset comes while the regeneration's model call waits on the provider (
hangModelAtConnectForTest). It passes on both configs. Class-only row: "retries a pre-stream interrupted regeneration as a new branch (Think regeneration includes the previous response in the model prompt #2028)".A turn a reset cut off after its stream opened, before any text (5632) is answered again, with its user message once (
resetDuringTurn(…, { openedStream })). It passes on both configs. Row: "retries an interrupted opened stream with no assistant content".The script-upgraded supersede row points at test(think): group A chat-recovery successors through public behaviour (resets, budgets, regeneration, platform cuts) #3455's platform-cut successor ("re-runs a recovery a reset cut while onChatRecovery ran…"): the fourth such row arch allowed.
A messenger reply whose recovery a reset also cut (7128) is answered once, with nothing failed posted. In
messengers.test.ts, areset-…agent resets mid-reply, the recovery'sonChatRecoveryis held, and a second reset cuts it. It passes on both configs. Row: "keeps a messenger reply pending while the platform re-runs recovery". The new fixtures on the messenger agent areonChatRecovery(it holds once),holdRecoveryOnceForTest,recoveryHeldForTestandresetIsolateForTest. The whole messengers file passes on the class, 120/120.No progress row is mechanics-only (rv-3, rv-6, the deputy). New successors, with a short
noProgressTimeoutMs(300 ms) in place of the 5-minute default, both passing on the class:no_progress_timeout, 4704's outcome without a child.Both fail on the shell for now, so no rows yet (Harness score: class-only tests are left out of the headline and must each have a passing successor #3387 needs a passing successor). 4671, 4704 and 4734 (the sub-agent and compaction forms) are unmarked; verify is asked for fault-suite scenarios (arch's third category).
A submission whose recovery a reset also cut (7255, theme f) stays
running, then completes once. It's insubmissions.test.ts, on B-3's eviction pattern, with a heldonChatRecoveryonThinkProgrammaticTestAgent. It passes on both configs. Row: "leaves the recovered submissionrunningon a deferral so the re-run picks it up (Mid-execution DO code-update resets consume the scheduled-callback retry budget —_chatRecoveryContinueabandoned ms before storage recovers, turn frozen for minutes #1730)". turn-task agreed that std writes theme (f).Not here:
onChatRecoverythrowing leaves the submissionrunningon Think (a deferred re-run), so the hook isn't that path, and there's no public trigger.The class runs chat-recovery-public 27/27, messengers 120/120 and submissions 134/134.
FIX commits (rv-3, rv-6): the regeneration shows the new answer, keeps the earlier one unchanged and makes one model call, without the old answer. The opened-stream retry keeps the question's id and makes one model call. The messenger and submission successors re-read after their barrier and check one reply.