mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
build_nodes dry-runs the generator's intents through filter_applicable and recorded the rejections only when NOTHING applied. A partial reject -- e.g. a connect on a branch handle the node does not declare, one the generator postprocess could not re-home and apply_connect now refuses -- kept the applicable intents and dropped the rest with no log line and no diagnostic, leaving that arm unwired on the canvas without a trace. A partial reject now logs a warning naming each dropped op, its args (minus a create_node's config body) and the reason, and appends a build_nodes diagnostic with the same list; the applicable intents are still returned. The total-reject path is unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>