docs(spec): fallbackNodeId 墓碑迁移文案 condition 'fault' → type: 'fault' (#6094) - #6313
Merged
Merged
Conversation
`flow.errorHandling.fallbackNodeId` 的退役迁移文案把 fault 边写成
「an edge with condition 'fault'」。但 `condition` 是返回 boolean 的 CEL
谓词(ExpressionInputSchema),fault 路由在 `type`
(z.enum(['default','fault','conditional','back']))。
照原文案写 `{ source, target, condition: 'fault' }` 能 parse 通过 ——
`condition` 接受任意表达式字符串 —— 但得到的是一条普通边,不是 fault 边。
于是墓碑用一个静默失效的键换掉了另一个:作者删掉一个本就不存在的 fallback,
再画一条并非 fault 的「fault 边」。
仓库别处已写对(flows.mdx:869「type: 'fault' is what routes — a label is
not」),全树其余提法均为 `type: 'fault'`,此处是唯一一处走样。末句
「draw a fault edge from the failing node to the handler node instead」
本就正确,保持不变。
仅文案,无 schema / 校验 / 运行时行为变化。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011M7UwH25Unfi73UHim7ajY
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Contributor
📓 Docs Drift CheckThis PR changes 1 package(s): 112 hand-written doc(s) reference the affected code and may need an implementation-accuracy re-verification:
|
qq9340100
marked this pull request as ready for review
August 7, 2026 15:08
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.
Fixes #6094
一行修正:
flow.zod.ts:715的退役墓碑教作者画「an edge with condition 'fault'」,但 fault 路由在type(:440 枚举),condition是 CEL 谓词 —— 照抄会得到 parse 干净却永不路由的普通边。改为an edge with type: 'fault'。全仓唯一错拼写(正控:type: 'fault'命中 flows.mdx:864 / bpmn-mapping.ts:269 / flow.test.ts ×2);末句本就正确,保留;范围钉死单句。changeset patch。Generated by Claude Code