NOOP task type: missing from TaskType enum and no builder function
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 88/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- typescript
- 领域
- api
调研方向
从 src/open-api/types.ts 中的 TaskType 枚举开始,然后检查 src/sdk/builders/tasks/index.ts 中的任务构建器和导出项。在 src/sdk/builders/tasks/noop.ts 中添加 NOOP 构建器并将其导出,以便用户可以使用 TaskType.NOOP 创建 WorkflowTask。
由索引模型根据 Issue 内容生成。
描述
Summary
TaskType.NOOP is absent from the TaskType enum in src/open-api/types.ts. There
is no noopTask() builder function. Users cannot create a NOOP workflow task using
the SDK.
NOOP does appear as a string literal in the generated types.gen.ts
(workflowTaskType union) but is not promoted to the TaskType enum.
Server baseline
Conductor 3.32.0-rc.9
Evidence
Static: TaskType enum in types.ts ends at LIST_MCP_TOOLS; no NOOP entry.
Live (2026-07-16): A raw task with "type": "NOOP" was registered and executed
against Conductor OSS 3.32.0-rc.9. The workflow completed successfully — server supports NOOP
fully, the gap is SDK-only.
Proposed fix
Add to TaskType enum in src/open-api/types.ts:
NOOP = "NOOP",
Add builder src/sdk/builders/tasks/noop.ts:
import type { WorkflowTask } from "../../../open-api";
import { TaskType } from "../../../open-api";
export const noopTask = (
taskReferenceName: string,
optional?: boolean
): WorkflowTask => ({
name: taskReferenceName,
taskReferenceName,
type: TaskType.NOOP,
inputParameters: {},
optional,
});
Export from builders/tasks/index.ts.
Related
Discovered during systematic SDK audit against Conductor OSS 3.32.0-rc.9.
Same gap in Java SDK (conductor-oss/java-sdk#130) and Python SDK (conductor-oss/python-sdk#430).
- 主要语言
- TypeScript
- 星标
- 58
- 派生
- 20
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 7
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
conductor-oss/javascript-sdk 的其他 Issue
-
bug documentation good first issue
难度 2/5 1-3 小时 新手友好度 82/100
conductor-oss/javascript-sdk#173 ·
-
bug
难度 1/5 1 小时以内 新手友好度 88/100
conductor-oss/javascript-sdk#140 ·
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
conductor-oss/javascript-sdk#139 ·
-
bug
难度 1/5 1 小时以内 新手友好度 91/100
conductor-oss/javascript-sdk#138 ·
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
conductor-oss/javascript-sdk#137 ·
查看 conductor-oss/javascript-sdk 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
难度 2/5 1-3 小时 新手友好度 78/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
-
calcite-components needs triage refactor
难度 2/5 1-3 小时 新手友好度 75/100
Esri/calcite-design-system#15203 ·
-
难度 2/5 1-3 小时 新手友好度 90/100
danielmiessler/LifeOS#2218 ·