You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(deps): upgrade Graphon to 0.9.0 and adapt runtime contracts #45355
This is only for refactors or chores; if you would like to ask a question, please head to Discussions.
I have searched for existing issues, including closed ones.
I confirm that I am using English to submit this report, otherwise it will be closed.
【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
Please do not modify this template and fill in all the required fields.
Description
Upgrade the API and standalone Agent package to the same Graphon 0.9.0 artifact and adapt Dify to its runtime contracts.
The API currently uses a Git revision of 0.8.0, while the Agent uses the published 0.8.0 package.
The upgrade must preserve these behaviors:
String and secret variables work as knowledge retrieval queries and dynamic human-input email recipients.
Truncation preserves secret tags and variable metadata.
Draft variable responses retain raw JSON values and valid file URLs without modifying cached variables or signing unvalidated nested references.
Workflow execution and pause/resume work with unused frame observations disabled.
Both locked environments and the Agent image can install the selected artifact.
Motivation
Graphon 0.9.0 changes segment construction, secret types, serialization, and frame observations.
A dependency-only update breaks existing Dify callers and can add unnecessary context copying and streaming memory retention.
Regression coverage should verify these integration boundaries before release.
Additional Context
Upstream release preparation: langgenius/graphon#379 and #382.
Required integration fixes: langgenius/graphon#383, including nested File/Segment serialization, tool-call snapshots, callback retention, and optional frame observations.
The reviewed candidate is 0805016c70a7fadded9fd10c851046a725b187d9.
Both dependency sources should move to the published package when it includes these fixes.
Agent complete-message persistence and replay remain tracked in #44502.
Activity