Failed tool calls are marked as succeeded (isError is always false)
メンテナーはふだん 1 日以内に返信
@oliarmak-web がすでに取り組んでいます。
2026年10月26日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 80/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- ai, backend-api-design
調査の方向性
まず agent-service/src/agent/texera-agent.ts の onStepFinish を確認し、次に agent-service/src/agent/tools/tools-utility.ts の createErrorResult を読んで、エラー出力の形式を確認します。ターン履歴でツールの結果がどのように記録、表示されるかを確認します。エラー結果が失敗として記録され、再現手順で次のターンにツール呼び出しが失敗として表示されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What happened?
When a tool call fails, the agent still marks it as succeeded.
In agent-service/src/agent/texera-agent.ts, onStepFinish sets:
isError: !!(tr.output as any)?.error,
But the tools return errors as a plain string, from createErrorResult in tools/tools-utility.ts:
export function createErrorResult(error: string): string {
return `[ERROR] ${error}`;
}
A string has no .error field, so isError is always false. Then the turn history shows every call as - <tool> (succeeded).
Example on main: addOperator and modifyOperator both returned [ERROR] Source operator "op7" not found. Both were saved with isError: false, and the next turn showed - addOperator (succeeded) and - modifyOperator (succeeded). Together with #9115, the agent gets no sign at all that the call failed.
Expected: isError should be true when the tool returns an error, for example when the output starts with [ERROR].
Screenshots
Step 1, tool call: the result starts with [ERROR].

Step 3, what the agent was given: the same call shows as - addOperator (succeeded).

How to reproduce?
- Open an empty workflow, create an agent, and send:
Add a Limit operator that keeps 10 rows, and connect its input to the existing operator op7. - Click "Export ReAct steps as JSON". Step 1's
toolResults[0].outputstarts with[ERROR], butisErrorisfalse. Step 2's input shows- addOperator (succeeded).
Version/Branch
1.4.0-incubating-SNAPSHOT (main)
Commit Hash (Optional)
57faa6b
What browsers are you seeing the problem on?
Chrome
Relevant log output
agent-service/src/agent/texera-agent.ts onStepFinish: isError: !!(tr.output as any)?.error
agent-service/src/agent/tools/tools-utility.ts:30 createErrorResult returns a string
- 主要言語
- Scala
- スター
- 325
- フォーク
- 196
- 平均マージ
- 4日 7時間
- マージ済み PR(30日)
- 149
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/texera のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/texera#9195 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Disabled tools can still be called by the agent対応中かも @shaynhornik が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
apache/texera#9122 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
canton-network/splice#8087 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 73/100
lichess-org/lila#22298 ·
メンテナーはふだん 1 日以内に返信
-
Task 🔧
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
valkey-io/valkey-glide#7455 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信