Repository navigation
feat(workflows): loop/loopExit 与 aggregator 节点全链路 - #175
Closed
wanglongan587 wants to merge 15 commits into
Closed
wanglongan587 wants to merge 15 commits into
wanglongan587 wants to merge 15 commits into
Conversation
Collaborator
Author
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.
Refs ora-space/circus#640
一次性交付两个 desktop 节点的 Cloud 全链路,便于 reviewer 在同一份改动里评审它们共享的容器/调度器接缝。
包含
Loop / loopExit(
feat/633-loop-execution)loopConfig(maxIterations 1..100、耗尽策略、carried 变量、until、outputs)、loopExit 只允许在 loop body。loop.completed、最终轮保留、loopExit早退、耗尽失败/成功、取消。Aggregator(
feat/637-aggregator){aggregator}.output;键存在即赋值(含null);全部未赋值失败aggregator_no_match。集成处理:节点 kind 联合、调色板、工厂、检查器分派、可执行集合、调度器 switch、文案 bundle(loop / aggregator / node 目录各自 sibling);无节点语义变更。
ADR 状态
两份后续 ADR 均为
proposed,待 owner 评审:核心用例在 ADR 批准后补;真实栈 E2E 完成前不把 ADR 标为
implemented。验证
go build ./...;TEST_DATABASE_URL=… go test ./internal/core -run "TestWorkflow"→ok 219s(含 loop 轮次/取消/loopExit、aggregator 顺序/未赋值/null/no-match)。npm run check全绿——154 文件 / 1297 测试、覆盖率、modules、docs、dead code、duplication、build。已知差异 / 未做
node.root文本输入(选择器化属编辑器体验,不改契约)。iteration仍未实现,不在此 PR。