Repository navigation
ThinkHarness shell: a failed turn also emits message:error - #3417
Merged
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
force-pushed
the
slim/harness-score-errors-3
branch
from
November 27, 2026 07:50
7915b65 to
db5b6a0
Compare
mattzcarey
force-pushed
the
slim/harness-score-errors-4
branch
from
November 27, 2026 07:55
0f8f3c8 to
ad6619b
Compare
mattzcarey
force-pushed
the
slim/harness-score-errors-4
branch
from
November 27, 2026 08:13
ad6619b to
6c36f17
Compare
mattzcarey
marked this pull request as ready for review
November 27, 2026 08:23
…does; a public successor for the RPC in-band error test
… then one chat:request:failed, both with the error
mattzcarey
force-pushed
the
slim/harness-score-errors-4
branch
from
November 27, 2026 08:33
6c36f17 to
30b4125
Compare
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.
On the harness-backed Think shell, a failed turn now also emits
message:errorto observability, next tochat:request:failed, as Think's reply pump does. Group H, slice 4, stacked on #3405.Score on the harness config:
think-session.test.tsgoes from 125 / 328 (after #3405) to 126 / 329, with no test newly failing. The class suite passes 329/329. Class-only: this PR adds one row, so H has 4.onTurnEndemitsmessage:error { error }right beforechat:request:failed, for the same turns: unanswered, not stopped, not a never-ran turn and not a clear's._replyStreams(getLatestStreamStatusForTest). Its successor is new here: "reports an in-band stream error to the RPC caller, the response hook and observability". It makes the same assertions without the private read, and it passes on both configs.No changeset: the shell isn't exported.