Repository navigation
fix(variables): resolve hyphenated node references - #340
Merged
Merged
Conversation
|
All contributors on this pull request have signed the CLA. |
2 of 5 tasks
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
zyssyz123
enabled auto-merge (squash)
October 14, 2026 07:02
laipz8200
approved these changes
Oct 15, 2026
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.
Important
Related Issue
Refs langgenius/dify#43830
Summary
Existing or imported workflows can contain a node such as
input-check. Its output is available through a selector, but{{#input-check.validated_input#}}is skipped by template discovery and survives unchanged into the LLM prompt. Accept ASCII hyphens in the node-ID portion of the runtime, variable-parser, and Answer-template patterns. Preserve the IDs themselves and all existing variable-name, path-depth, and length restrictions.Regression tests cover exact ID preservation, UUID/edge-position hyphens, nested values, unsupported syntax, Answer segments, and the real LLM node calling its model adapter with
red/blueinstead of the placeholder. Dify-side Prompt, reference-warning, and RAG parsers have a companion change in langgenius/dify#44036.Validation:
LLMNode.run()calls an in-process capture adapter with resolved inputs. No external model or media-provider calls were made.Rollout: Dify currently pins Graphon 0.7.0. The dev verification applies only these regex edits to that version; it does not upgrade the host to Graphon 0.8.0. A compatible release/backport and Dify dependency update are required for normal release rollout.
Checklist
!From Codex