Loop condition errors can leave partial results marked Completed
维护者通常 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?
- Run a loop with a valid body and update expression.
- Set Loop End's condition to reference an undefined variable.
- 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 小时
- 30 天内合并 PR
- 185
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/texera 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
addOperator returns an error but still adds the operator可能已有人在做 @sunny-kavixo 于 5 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Failed tool calls are marked as succeeded (isError is always false)可能已有人在做 @oliarmak-web 于 14 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 80/100
apache/texera#9120 · 8 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
相似的 Issue
-
? - Needs Triage bug
难度 2/5 1-3 小时 新手友好度 75/100
NVIDIA/cudf-spark#16937 ·
维护者通常 1 天内回复
-
LFST not-issued-store count truncation can incorrectly clear strictShouldWait可能已有人在做 @weidingliu 今天认领。 未关闭module: memory type: bug/reported
难度 2/5 1-3 小时 新手友好度 68/100
OpenXiangShan/XiangShan#6974 · 1 条评论 · 已指派 1 人 ·
维护者通常 3 天内回复
-
bug indigo
难度 2/5 1-3 小时 新手友好度 82/100
PurpleKingdomGames/indigoengine#300 · 1 条评论 ·
-
JavaReservoirSampleOperator returns the whole input when the dataset size is unknown可能已有人在做 @sasmith-14 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
-
AI Generated CI/CD ⚒️ Flaky-tests 🐦 python 🐍
难度 2/5 1-3 小时 新手友好度 62/100
valkey-io/valkey-glide#7722 ·
维护者通常 1 天内回复