Loop condition errors can leave partial results marked Completed

オープン
#9,499 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@aglinxinyuan がすでに取り組んでいます。

2026年11月16日 から。

評価

この issue はまだ評価されていません。

説明

What happened?

Loop End evaluates its condition after sending port_completed for its output ports. Region completion is port-based, so an undefined name in the condition can leave the UI showing Completed with partial results, even though the console reports a NameError.

Before: port completion → condition raises → partial results shown as Completed.
After: validate the condition before completion notifications; an error keeps the region incomplete.

How to reproduce?
  1. Run a loop with a valid body and update expression.
  2. Set Loop End's condition to reference an undefined variable.
  3. Observe the console error and the workflow's Completed status after the first iteration.
Version/Branch

1.4.0-incubating-SNAPSHOT (main)

Commit Hash (Optional)

b9d6f11ae99896520bdf1ccabed1de72adac1c70 (PR #9498; unchanged Loop End code from main).

What browsers are you seeing the problem on?

Chrome

Relevant log output

NameError: name 'score' is not defined, followed by a Completed workflow state with only the first iteration's result.

主要言語
Scala
スター
333
フォーク
202
平均マージ
3日 11時間
マージ済み PR(30日)
185

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/texera のほかの issue

apache/texera の issue をすべて見る

似ている issue

Scala の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。