mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
Two gaps in the fail-closed branch-handle repair: - The failure-arm aliases lacked fail_branch / failbranch / error_branch / on_fail / fallback. A planner's "fail_branch" edge on a fail-branch http-request stayed unresolved (only the hyphenated spelling matched the declared handle exactly). They are looked up through _canon_name like every other name, so any spacing / hyphen / underscore spelling hits. - On an if-else / question-classifier / human-input node with error_strategy fail-branch and that arm unwired, the fan-out rule eliminated an unrecognized name onto the one free branch arm (ELSE, a class, an action) -- even when the edge meant the failure arm. Rule 2 no longer runs for such a node while its fail-branch arm is unwired; the edge is left for a validator instead. Once fail-branch is wired the rule applies as before. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>