Repository navigation
fix: accept JSON string json_schema in VariableEntity (lts/1.13.x) - #45497
Merged
Merged
Conversation
Contributor
Pyrefly Type Coverage
|
zhangx1n
force-pushed
the
fix/lts-1.13.x-json-schema-string
branch
from
November 4, 2026 02:21
c7bad58 to
952c8f2
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## lts/1.13.x #45497 +/- ##
=============================================
Coverage ? 53.53%
=============================================
Files ? 1333
Lines ? 107405
Branches ? 13298
=============================================
Hits ? 57497
Misses ? 47730
Partials ? 2178
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
zhangx1n
marked this pull request as ready for review
November 4, 2026 03:15
Port langgenius/graphon#165 (bfe73c1) to dify_graph on lts/1.13.x. On main it landed via the graphon v0.5.1 upgrade (#37168). (cherry picked from commit b4c50eb)
zhangx1n
force-pushed
the
fix/lts-1.13.x-json-schema-string
branch
from
November 4, 2026 03:17
952c8f2 to
a465545
Compare
Contributor
Author
wylswz
approved these changes
Nov 4, 2026
41tair
approved these changes
Nov 4, 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
Fixes #<issue number>.Summary
Related #36766, ENG-1400. Follow-up to #45123.
The web editor stores the Start node
json_schemaas a JSON string. #45123 only normalizes it inWorkflowVariablesConfigManager.convert.StartNodeDatastill fails withjson_schema Input should be a valid dictionaryat runtime.This ports langgenius/graphon#165 to
dify_graphonlts/1.13.x.VariableEntity.json_schemanow uses amode="before"validator that parses JSON strings, treats empty strings asNone, and rejects non-object values.From Amp
Screenshots
N/A
Checklist
make lint && make type-check(backend) andvp staged(frontend) to appease the lint gods