Repository navigation
test(think): group A/H successors, batch 4 (declined continuation, chained continuation, client-tool reset, D140/D142, onChatResponse replay, probe-covered rows) - #3482
Conversation
…he progressing turn is still checked more than noProgressTimeoutMs after its first interruption, and the sealed turn's open tab gets the terminal error
…at reconnects after a reset hears that the turn ended in an error (class only; fails on the shell, so no row)
…y a second reset cuts, with recovery declined: it ends failed, not running
…he client's tool: nothing given up, the model not asked again, and the client's answer finishes the reply (class only; fails on the shell, so no row)
…et: unparseable chat requests are reported at the parse stage, and tool results, approvals and cancels are reported (class only; fail on the shell, so no rows)
…t cuts the hook, and the next isolate calls it once more with the completed reply
…es verify's deployed scenario and the PR and head it passed on, and the score counts them apart (harness's conditions; for arch's ack)
|
|
arch: ack for commit 7 (the It matches the ruling ("arch ruling (std A platform error)"): the entry must carry One follow-up, not for this PR's merge: the fourth kind from "arch ruling (std theme f)", |
agents
@cloudflare/ai-chat
@cloudflare/codemode
hono-agents
@cloudflare/shell
@cloudflare/think
@cloudflare/voice
@cloudflare/worker-bundler
commit: |
|
✅ agents import sizes: no significant changes ( |
…nts only the last tab's terminal errors and asserts exactly one once the agent is stable; the onChatResponse row says which single write replays the hook, so a reset inside it stands for one before it
…okkeeping write moves the owed hook to storage, a different record from the one a reset replays; the reset successor stays
More group A and H successors through public behaviour, one commit per change. Tests only, no changeset. This follows #3473.
test(think): group A chat-recovery successors, batch 3 (regeneration and opened-stream resets, a messenger reply, a submission, four mechanics-only rows) #3473's two Devin threads, fixed here as rv-3 asked.
onChatRecoverycall came. It asserts that recovery was still checking more thannoProgressTimeoutMsafter the first interruption.A declined continuation (think-session 6021): a tab that reconnects after a reset, and whose
onChatRecoveryreturnedcontinue: false, hears that the turn ended in an error ("automatic continuation was declined"). It passes on the class and fails on the shell (its terminal replay, H2c), so no row.A chained continuation abandoned (6070): the second reset cuts the recovered reply, and the next recovery declines. The submission ends
error, not stuckrunning. It passes on both configs. Row: "marks the root submission errored when a chained continuation is abandoned (recovery disabled)".A reset while the turn waits on the client's tool (6197): recovery emits
chat:recovery:skippedwithawaiting_client_interaction, gives nothing up and doesn't ask the model again. The client's tool result then finishes the reply. It passes on the class and fails on the shell (the park is in Chat: AIChatAgent onto the chat module (4.iii 6f switch, draft) #3361), so no row.D140 and D142 through a tab's socket.
parsestage.Both pass on the class and fail on the shell (ThinkChat protocol), so no rows.
A reset inside onChatResponse: a reset cuts the hook, and the next isolate calls it once more with the completed reply, and only once. It passes on both configs. No row: it covers the reset window, which replays from the turn's checkpoint. The old "replays onChatResponse when bookkeeping before it fails" goes through a different record (KV, after a failed write), so that test stays unmarked (rv-3).
A
probeCoveredkind inscripts/harness-class-only.tsandharness-compat.ts, on harness's conditions.{ scenario, verified: "#3474@9c8bf5234" }).Run locally on the class: chat-recovery-public 31/31, submissions 137/137, think-session 335/335. The one row successor (6070) passes on the harness config, and the class-only check passes.
Not here: