Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 27 additions & 13 deletions packages/think/harness-compat.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"total": 1583,
"passed": 583,
"needThink": 1290,
"needThinkPassed": 290,
"total": 1591,
"passed": 589,
"needThink": 1296,
"needThinkPassed": 294,
"files": {
"action-pause-recovery.test.ts": {
"total": 3,
Expand All @@ -25,12 +25,12 @@
"passed": 0
},
"agent-tools.test.ts": {
"total": 64,
"total": 67,
"passed": 12
},
"assistant-agent-loop.test.ts": {
"total": 33,
"passed": 9
"passed": 10
},
"assistant-agent.test.ts": {
"total": 5,
Expand Down Expand Up @@ -65,8 +65,8 @@
"passed": 8
},
"client-tools.test.ts": {
"total": 138,
"passed": 34
"total": 139,
"passed": 33
},
"cold-rpc-initialization.test.ts": {
"total": 4,
Expand All @@ -84,9 +84,13 @@
"total": 7,
"passed": 0
},
"detached-reconcile-lane.test.ts": {
"total": 1,
"passed": 0
},
"durable-admission.test.ts": {
"total": 9,
"passed": 2
"passed": 4
},
"empty-reply.test.ts": {
"total": 10,
Expand Down Expand Up @@ -124,6 +128,10 @@
"total": 7,
"passed": 7
},
"harness-tool-recovery.test.ts": {
"total": 2,
"passed": 2
},
"hooks.test.ts": {
"total": 149,
"passed": 55
Expand Down Expand Up @@ -242,7 +250,7 @@
},
"submissions.test.ts": {
"total": 123,
"passed": 28
"passed": 29
},
"telegram-messenger.test.ts": {
"total": 2,
Expand All @@ -257,8 +265,8 @@
"passed": 2
},
"think-session.test.ts": {
"total": 307,
"passed": 59
"total": 308,
"passed": 60
},
"turn-metadata.test.ts": {
"total": 4,
Expand Down Expand Up @@ -300,6 +308,7 @@
"assistant-agent-loop.test.ts > Think — agentic loop > defaultContextOverflowClassifier > classifies common provider context-overflow errors",
"assistant-agent-loop.test.ts > Think — agentic loop > defaultContextOverflowClassifier > returns undefined for unrelated errors",
"assistant-agent-loop.test.ts > Think — agentic loop > getModel() error > returns an error when getModel is not overridden",
"assistant-agent-loop.test.ts > Think — agentic loop > mid-turn context-overflow recovery (opt-in) > does not leave an orphan truncated assistant message after a reactive retry",
"assistant-agent-loop.test.ts > Think — agentic loop > mid-turn context-overflow recovery (opt-in) > recovers a context overflow during continueLastTurn",
"assistant-agent.test.ts > Think — cancel > cancel message does not crash the agent",
"assistant-agent.test.ts > Think — clear > clears all messages",
Expand Down Expand Up @@ -336,7 +345,6 @@
"client-tools.test.ts > Think — custom body via WebSocket > body is cleared when request has no custom fields",
"client-tools.test.ts > Think — messageConcurrency > only applies to submit-message, not regenerate-message",
"client-tools.test.ts > Think — messageConcurrency > post-clear submits are not treated as overlapping",
"client-tools.test.ts > Think — messageConcurrency > queue: processes all overlapping submits in order",
Comment thread
mattzcarey marked this conversation as resolved.
Resolved
"client-tools.test.ts > Think — onChatResponse via WebSocket > fires onChatResponse after WebSocket chat request",
"client-tools.test.ts > Think — regeneration > multiple regenerations create multiple branches",
"client-tools.test.ts > Think — regeneration > regenerate-message creates a sibling branch, not a replacement",
Expand Down Expand Up @@ -367,7 +375,9 @@
"context-upgrade.test.ts > Think context upgrade > ignores a context record a client sends in message metadata",
"context-upgrade.test.ts > Think context upgrade > rebuilds the prompt from the blocks at the turn after a compaction",
"context-upgrade.test.ts > Think context upgrade > stores the prompt only on the session, never in a _system_prompt row",
"durable-admission.test.ts > durable admission: a request queued behind a turn a reset cuts off > a clear before the replay drops it",
"durable-admission.test.ts > durable admission: a request queued behind a turn a reset cuts off > a record left between the turn's fiber and the record's delete is recovery's",
"durable-admission.test.ts > durable admission: a request queued behind a turn a reset cuts off > runs however long it waited: its question is never dropped",
"durable-admission.test.ts > durable admission: a request queued behind a turn a reset cuts off > submissions: one running and one pending at the reset each get their own reply, in order",
"execute-tool.test.ts > execute tool on the codemode runtime > maps needsApproval AI SDK tools to requiresApproval — the call pauses durably",
"execute-tool.test.ts > execute tool on the codemode runtime > one-liner: createExecuteTool(agent) runs without state.* and records on this.codemode",
Expand Down Expand Up @@ -484,6 +494,8 @@
"fiber.test.ts > Think — runFiber > should run a fiber to completion and return the result",
"fiber.test.ts > Think — runFiber > should support checkpointing via ctx.stash()",
"fiber.test.ts > Think — runFiber > should support fire-and-forget fibers",
"harness-tool-recovery.test.ts > the shipped tools' recovery on the harness > runs a public fetch again, and reports a binding's",
"harness-tool-recovery.test.ts > the shipped tools' recovery on the harness > runs the workspace's reads again after an interruption, and reports its writes",
"hooks.test.ts > Think — ToolCallDecision honored by wrapped execute > 'substitute' short-circuits execute and returns the substituted output",
"hooks.test.ts > Think — ToolCallDecision honored by wrapped execute > async beforeToolCall (Promise<ToolCallDecision>) is awaited correctly",
"hooks.test.ts > Think — ToolCallDecision honored by wrapped execute > collapses Promise<AsyncIterable> returns to the last yielded value",
Expand Down Expand Up @@ -767,6 +779,7 @@
"submissions.test.ts > Think durable submissions > does not delete pending or missing submissions",
"submissions.test.ts > Think durable submissions > does not link a cancelled turn's partial to a reused submission id",
"submissions.test.ts > Think durable submissions > does not treat public workflow-shaped metadata as workflow configuration",
"submissions.test.ts > Think durable submissions > emits a cancelled running submission's terminal status once",
"submissions.test.ts > Think durable submissions > hands a waiter the result when the terminal hook deletes the submission",
"submissions.test.ts > Think durable submissions > ignores an app's own __cf_progress field and still records the turn's progress",
"submissions.test.ts > Think durable submissions > lets a status hook cancel its own submission",
Expand Down Expand Up @@ -795,6 +808,7 @@
"think-session.test.ts > Think — Session integration > returns a copy from getMessages",
"think-session.test.ts > Think — Session integration > should use tree-structured messages via Session",
"think-session.test.ts > Think — abort > should expose chat request ids for cross-RPC cancellation",
"think-session.test.ts > Think — abort > should persist partial message on abort",
"think-session.test.ts > Think — abort > should stop streaming on abort and not call onDone",
"think-session.test.ts > Think — abort > stores no reply for a turn stopped before it has any content",
"think-session.test.ts > Think — addMessages > appends without starting a model turn",
Expand Down
16 changes: 9 additions & 7 deletions packages/think/harness-compat.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tools) is left out of it. A failing test that reaches a Think feature the
harness-backed class does not have yet fails with "Think.<name> is not
supported by the harness-backed Think yet".

**290 of the 1290 tests that construct Think pass (22%).** Across the whole suite, 583 of 1583.
**294 of the 1296 tests that construct Think pass (22%).** Across the whole suite, 589 of 1591.

| File | Passing | |
| -------------------------------------- | -------- | ---- |
Expand All @@ -22,8 +22,8 @@ supported by the harness-backed Think yet".
| `actions-durable-pause.test.ts` | 2 / 56 | 3% |
| `agent-tool-reattach-recovery.test.ts` | 0 / 2 | 0% |
| `agent-tool-rebind-noop.test.ts` | 0 / 6 | 0% |
| `agent-tools.test.ts` | 12 / 64 | 18% |
| `assistant-agent-loop.test.ts` | 9 / 33 | 27% |
| `agent-tools.test.ts` | 12 / 67 | 17% |
| `assistant-agent-loop.test.ts` | 10 / 33 | 30% |
| `assistant-agent.test.ts` | 5 / 5 | 100% |
| `assistant-message-metadata.test.ts` | 1 / 9 | 11% |
| `attachment-consumption.test.ts` | 0 / 4 | 0% |
Expand All @@ -32,12 +32,13 @@ supported by the harness-backed Think yet".
| `channel-recovery.test.ts` | 0 / 5 | 0% |
| `channel-threading.test.ts` | 1 / 4 | 25% |
| `channels.test.ts` | 8 / 8 | 100% |
| `client-tools.test.ts` | 34 / 138 | 24% |
| `client-tools.test.ts` | 33 / 139 | 23% |
| `cold-rpc-initialization.test.ts` | 4 / 4 | 100% |
| `connection-state.test.ts` | 2 / 2 | 100% |
| `context-upgrade.test.ts` | 4 / 11 | 36% |
| `deliver-notice.test.ts` | 0 / 7 | 0% |
| `durable-admission.test.ts` | 2 / 9 | 22% |
| `detached-reconcile-lane.test.ts` | 0 / 1 | 0% |
| `durable-admission.test.ts` | 4 / 9 | 44% |
| `empty-reply.test.ts` | 0 / 10 | 0% |
| `errored-stream-replay.test.ts` | 0 / 1 | 0% |
| `eviction-recovery.test.ts` | 0 / 1 | 0% |
Expand All @@ -47,6 +48,7 @@ supported by the harness-backed Think yet".
| `facet-request-order.test.ts` | 0 / 1 | 0% |
| `fetch-tools.test.ts` | 52 / 53 | 98% |
| `fiber.test.ts` | 7 / 7 | 100% |
| `harness-tool-recovery.test.ts` | 2 / 2 | 100% |
| `hooks.test.ts` | 55 / 149 | 36% |
| `hydration-budget.test.ts` | 1 / 19 | 5% |
| `max-concurrent-agent-tools.test.ts` | 1 / 5 | 20% |
Expand Down Expand Up @@ -76,11 +78,11 @@ supported by the harness-backed Think yet".
| `stop-reason.test.ts` | 0 / 46 | 0% |
| `stream-cleanup.test.ts` | 0 / 5 | 0% |
| `streaming-message-id.test.ts` | 1 / 1 | 100% |
| `submissions.test.ts` | 28 / 123 | 22% |
| `submissions.test.ts` | 29 / 123 | 23% |
| `telegram-messenger.test.ts` | 2 / 2 | 100% |
| `terminal-frame-order.test.ts` | 0 / 4 | 0% |
| `think-eviction.test.ts` | 2 / 3 | 66% |
| `think-session.test.ts` | 59 / 307 | 19% |
| `think-session.test.ts` | 60 / 308 | 19% |
| `turn-metadata.test.ts` | 1 / 4 | 25% |
| `workflows.test.ts` | 3 / 3 | 100% |
| `workspace-tools.test.ts` | 8 / 10 | 80% |
Expand Down
Loading