Repository navigation
feat(workflows): loop/loopExit、aggregator 与 iteration 全链路 - #177
Merged
Merged
Conversation
This was referenced Oct 25, 2026
11 tasks
This was referenced Oct 26, 2026
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.
Summary
补齐 condition 的多分支连线,以及 Output 的命名绑定编辑和执行。不同分支可汇入同一节点,同端口重复连接被拒绝;删除分支清除对应边,撤销恢复,保存重载保留 case id。旧图省略或写空端口时仍按 ELSE 解释。
Output 可增删命名绑定并选择上游变量,保存
data.outputs。服务端从同一个已提交快照解析所有绑定,保留 null/false/0/空串;未赋值或无效路径使节点失败,不输出部分成功结果。无绑定保留空对象;发布门禁定位非法结构、空名、重名、无效选择器与未声明根。本 PR 继续包含此前的 aggregator、loop/loopExit、iteration 实现。另补迭代状态的保存/恢复/取消接线与回归测试;消除较大状态值的隐式拷贝和原分支的 Go lint 问题。
Evidence
{}。npm run check:156 文件 / 1309 测试,含类型、覆盖率、模块文档、重复代码与构建检查。64158659f4250d0261318c64db6dd7793b61f63e的独立 Linux 源码副本执行REQUIRE_POSTGRES=1 CGO_ENABLED=1 go test -race -count=1 -timeout 20m ./...,全仓通过;真实 PostgreSQL 的 core 套件 98.218s、integration 套件 292.848s,未报告竞态。6415865的远端 CI 7 项全部通过:frontend、packages、integration-0/1/2/3、最终 check。ADR 状态与剩余交付
以下 ADR 候选为
approved,对应 PR 尚未合并,本实现仍按预开发约束推进:decisions/cloud/workflow/20261025-variable-aggregator-execution.mddecisions/cloud/workflow/20261025-loop-and-loop-exit-execution.mddecisions/cloud/workflow/20261025-iteration-foreach-execution.md上述剩余项继续由实现运行承接;body 内真实 agent、正常项目创建、浏览器与
@入口的完整验收仍待完成。既有人工准备项目后的 HTTP 演练只证明局部执行链路。产品 review 通过、最终契约全部实现后,另开独立落地运行和 specs PR,把相应 ADR 同步到
implemented;产品 PR 合并后再合并落地 PR。Merge Danger
Door: two-way
Blast Radius: workflow
新增可执行节点与持久状态,不改数据库迁移或 OpenAPI。规格 PR 合并及剩余实现/验收完成前保留预开发边界。
Refs ora-space/circus#646