Skip to content

chore(api): Upgrade graphon to v0.5.1 - #37168

Merged
QuantumGhost merged 10 commits into
langgenius:mainfrom
QuantumGhost:deps/upgrade-graphon-v0.5.0
Jun 11, 2026
Merged

QuantumGhost merged 10 commits into
langgenius:mainfrom
QuantumGhost:deps/upgrade-graphon-v0.5.0

Conversation

@QuantumGhost

@QuantumGhost QuantumGhost commented Jun 8, 2026 •

Copy link
Copy Markdown
Member

AI disclosure: This PR was primarily drafted with Codex using GPT-5.4.
I have reviewed and edited the final diff, and I am responsible for the content.

Closes #37166

Summary

Upgrade graphon to v0.5.1 across the relevant packages.

Validation

  • API tests
  • Dify agent tests

Assisted-By: Codex:GPT-5.4
@github-actions

github-actions Bot commented Jun 8, 2026 •

Copy link
Copy Markdown
Contributor

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-06-11 06:25:11.066845299 +0000
+++ /tmp/pyrefly_pr.txt	2026-06-11 06:24:58.707539638 +0000
@@ -684,6 +684,10 @@
    --> tests/integration_tests/workflow/nodes/test_http.py:732:35
 ERROR Argument `_SimpleJinja2Renderer` is not assignable to parameter `jinja2_template_renderer` with type `Jinja2TemplateRenderer` in function `graphon.nodes.template_transform.template_transform_node.TemplateTransformNode.__init__` [bad-argument-type]
   --> tests/integration_tests/workflow/nodes/test_template_transform.py:94:34
+ERROR Object of class `object` has no attribute `strip` [missing-attribute]
+  --> tests/integration_tests/workflow/test_response_stream_filter_integration.py:74:12
+ERROR Object of class `object` has no attribute `strip` [missing-attribute]
+  --> tests/integration_tests/workflow/test_response_stream_filter_integration.py:75:37
 ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `page` [bad-argument-type]
    --> tests/test_containers_integration_tests/controllers/console/app/test_app_apis.py:658:51
 ERROR Object of class `RequestError` has no attribute `response` [missing-attribute]
@@ -5739,13 +5743,11 @@
 ERROR Class member `StaticRepo.create_form` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
    --> tests/unit_tests/core/workflow/graph_engine/test_parallel_human_input_join_resume.py:135:9
 ERROR Argument `Sequence[type[GraphEngineEvent]]` is not assignable to parameter `expected_sequence` with type `list[type[GraphEngineEvent]]` in function `TableTestRunner._validate_event_sequence` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:402:21
+   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:403:21
 ERROR `graph` is uninitialized [unbound-name]
-   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:455:23
+   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:23
 ERROR `graph_runtime_state` is uninitialized [unbound-name]
-   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:456:37
-ERROR Argument `str` is not assignable to parameter `object` with type `LiteralString` in function `list.append` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:684:23
+   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:457:37
 ERROR Argument `str` is not assignable to parameter `object` with type `LiteralString` in function `list.append` [bad-argument-type]
    --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:685:23
 ERROR Argument `str` is not assignable to parameter `object` with type `LiteralString` in function `list.append` [bad-argument-type]
@@ -5755,15 +5757,17 @@
 ERROR Argument `str` is not assignable to parameter `object` with type `LiteralString` in function `list.append` [bad-argument-type]
    --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:688:23
 ERROR Argument `str` is not assignable to parameter `object` with type `LiteralString` in function `list.append` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:696:31
+   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:689:23
+ERROR Argument `str` is not assignable to parameter `object` with type `LiteralString` in function `list.append` [bad-argument-type]
+   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:697:31
 ERROR Argument `str` is not assignable to parameter `object` with type `LiteralString` in function `list.append` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:698:35
+   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:699:35
 ERROR Argument `str` is not assignable to parameter `object` with type `LiteralString` in function `list.append` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:700:35
+   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:701:35
 ERROR Argument `str` is not assignable to parameter `object` with type `LiteralString` in function `list.append` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:702:35
+   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:703:35
 ERROR Argument `str` is not assignable to parameter `object` with type `LiteralString` in function `list.append` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:711:27
+   --> tests/unit_tests/core/workflow/graph_engine/test_table_runner.py:712:27
 ERROR Argument `Iterator[Unknown]` is not assignable to parameter `messages` with type `Generator[ToolInvokeMessage]` in function `core.workflow.nodes.agent.message_transformer.AgentMessageTransformer.transform` [bad-argument-type]
   --> tests/unit_tests/core/workflow/nodes/agent/test_message_transformer.py:15:26
 ERROR Class member `FakeBindingResolver.resolve` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
@@ -5945,21 +5949,21 @@
 ERROR Class member `_TestFileReferenceFactory.build_from_mapping` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
    --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:149:9
 ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
-   --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:324:20
+   --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:325:20
 ERROR Object of class `HumanInputNodeData` has no attribute `delivery_methods` [missing-attribute]
-   --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:347:20
+   --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:348:20
 ERROR Object of class `ExternalRecipient` has no attribute `reference_id` [missing-attribute]
-   --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:440:16
-ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
    --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:441:16
+ERROR Object of class `BoundRecipient` has no attribute `email` [missing-attribute]
+   --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:442:16
 ERROR Missing argument `reference_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [missing-argument]
-   --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:445:28
+   --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:446:28
 ERROR Unexpected keyword argument `user_id` in function `core.workflow.human_input_adapter.BoundRecipient.__init__` [unexpected-keyword]
-   --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:445:61
+   --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:446:61
 ERROR Unexpected keyword argument `whole_workspace` in function `core.workflow.human_input_adapter.EmailRecipients.__init__` [unexpected-keyword]
-   --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:447:38
+   --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:448:38
 ERROR Object of class `SchedulingPause` has no attribute `resolved_default_values` [missing-attribute]
-   --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:525:16
+   --> tests/unit_tests/core/workflow/nodes/human_input/test_entities.py:526:16
 ERROR Class member `_TestFileReferenceFactory.build_from_mapping` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
   --> tests/unit_tests/core/workflow/nodes/human_input/test_human_input_form_filled_event.py:44:9
 ERROR Argument `dict[str, list[str] | str]` is not assignable to parameter `node_data` with type `KnowledgeIndexNodeData | dict[str, object]` in function `_build_node` [bad-argument-type]
@@ -5987,19 +5991,19 @@
 ERROR Argument `list[SystemPromptMessage]` is not assignable to parameter `prompt_messages` with type `list[PromptMessage]` in function `graphon.nodes.llm.llm_utils._append_file_prompts` [bad-argument-type]
    --> tests/unit_tests/core/workflow/nodes/llm/test_llm_utils.py:744:29
 ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
-    --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1217:9
+    --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1218:9
 ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
-    --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1247:9
+    --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1251:9
 ERROR Class member `_UnknownItem.__str__` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
-    --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1259:13
+    --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1264:13
 ERROR Argument `Iterator[Any]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
-    --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1505:31
+    --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1511:31
 ERROR Argument `Generator[None, Unknown]` is not assignable to parameter `invoke_result` with type `Generator[LLMResultChunk | LLMStructuredOutput] | LLMResult` in function `graphon.nodes.llm.node.LLMNode.handle_invoke_result` [bad-argument-type]
-    --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1542:31
+    --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1548:31
 ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyCredentialsProvider.__init__` [missing-argument]
-    --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1734:32
+    --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1740:32
 ERROR Missing argument `run_context` in function `core.app.llm.model_access.DifyModelFactory.__init__` [missing-argument]
-    --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1737:25
+    --> tests/unit_tests/core/workflow/nodes/llm/test_node.py:1743:25
 ERROR `in` is not supported between `Literal['variables']` and `object` [not-iterable]
    --> tests/unit_tests/core/workflow/nodes/template_transform/template_transform_node_spec.py:145:16
 ERROR `in` is not supported between `Literal['template']` and `object` [not-iterable]
@@ -6177,23 +6181,23 @@
 ERROR Argument `SimpleNamespace` is not assignable to parameter `graph_runtime_state` with type `GraphRuntimeState` in function `core.workflow.workflow_entry.WorkflowEntry.__init__` [bad-argument-type]
    --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:299:37
 ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.workflow.workflow_entry.WorkflowEntry.single_step_run` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:415:26
+   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:461:26
 ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.workflow.workflow_entry.WorkflowEntry.single_step_run` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:470:26
+   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:516:26
 ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.workflow.workflow_entry.WorkflowEntry.single_step_run` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:539:26
+   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:585:26
 ERROR Argument `SimpleNamespace` is not assignable to parameter `workflow` with type `Workflow` in function `core.workflow.workflow_entry.WorkflowEntry.single_step_run` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:597:30
+   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:643:30
 ERROR Class member `EmptySplitKey.split` overrides parent class `UserString` in an inconsistent manner [bad-override]
-   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:820:17
+   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:866:17
 ERROR Class member `EmptySplitKey.split` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
-   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:820:17
+   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:866:17
 ERROR Argument `dict[TestMappingUserInputsBranches.test_rejects_invalid_node_variable_key.EmptySplitKey, list[str]]` is not assignable to parameter `variable_mapping` with type `Mapping[str, Sequence[str]]` in function `core.workflow.workflow_entry.WorkflowEntry.mapping_user_inputs_to_variable_pool` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:825:34
+   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:871:34
 ERROR Argument `TestWorkflowEntryTracing.test_traced_node_run_reports_success.FakeNode` is not assignable to parameter `node` with type `Node[Unknown]` in function `core.workflow.workflow_entry.WorkflowEntry._traced_node_run` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:876:73
+   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:922:73
 ERROR Argument `TestWorkflowEntryTracing.test_traced_node_run_reports_errors.FakeNode` is not assignable to parameter `node` with type `Node[Unknown]` in function `core.workflow.workflow_entry.WorkflowEntry._traced_node_run` [bad-argument-type]
-   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:899:68
+   --> tests/unit_tests/core/workflow/test_workflow_entry_helpers.py:945:68
 ERROR Missing argument `case` in function `enterprise.telemetry.contracts.TelemetryEnvelope.__init__` [missing-argument]
    --> tests/unit_tests/enterprise/telemetry/test_contracts.py:111:30
 ERROR Missing argument `tenant_id` in function `enterprise.telemetry.contracts.TelemetryEnvelope.__init__` [missing-argument]
@@ -6810,47 +6814,49 @@
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
    --> tests/unit_tests/services/test_model_load_balancing_service.py:104:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:124:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:129:5
+ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:147:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:135:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:158:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:153:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:176:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:204:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:227:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:258:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:281:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:271:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:294:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:290:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:313:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:330:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:353:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:349:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:372:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:369:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:392:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:390:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:413:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:412:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:435:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:443:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:466:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:465:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:488:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:498:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:521:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:547:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:570:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:578:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:601:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:606:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:629:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:625:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:648:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `provider_manager` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:647:5
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:670:5
 ERROR Object of class `ModelLoadBalancingService` has no attribute `model_assembly` [missing-attribute]
-   --> tests/unit_tests/services/test_model_load_balancing_service.py:673:37
+   --> tests/unit_tests/services/test_model_load_balancing_service.py:696:37
 ERROR `(tenant_id: str) -> service_with_fake_configurations._FakeProviderManager` is not assignable to attribute `_get_provider_manager` with type `(tenant_id: str) -> ProviderManager` [bad-assignment]
   --> tests/unit_tests/services/test_model_provider_service_sanitization.py:74:33
 ERROR Argument `frozenset[str]` is not assignable to parameter `scopes` with type `frozenset[Scope]` in function `libs.oauth_bearer.AuthContext.__init__` [bad-argument-type]

@github-actions

github-actions Bot commented Jun 8, 2026 •

Copy link
Copy Markdown
Contributor

Pyrefly Type Coverage

Metric Base PR Delta
Type coverage 48.31% 48.32% +0.01%
Strict coverage 47.81% 47.82% +0.01%
Typed symbols 27,400 27,414 +14
Untyped symbols 29,625 29,627 +2
Modules 2866 2867 +1

@QuantumGhost QuantumGhost changed the title [codex] Upgrade graphon to v0.5.0 chore(api): Upgrade graphon to v0.5.0 Jun 8, 2026
@QuantumGhost
QuantumGhost marked this pull request as ready for review June 8, 2026 07:28
@QuantumGhost
QuantumGhost requested a review from a team June 8, 2026 07:28
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. dependencies Pull requests that update a dependency file labels Jun 8, 2026
@QuantumGhost
QuantumGhost marked this pull request as draft June 8, 2026 07:52
@QuantumGhost

This comment was marked as outdated.

@QuantumGhost
QuantumGhost marked this pull request as ready for review June 8, 2026 13:33
FFXN
FFXN previously approved these changes Jun 9, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jun 9, 2026
wylswz
wylswz previously approved these changes Jun 9, 2026
@QuantumGhost
QuantumGhost added this pull request to the merge queue Jun 9, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 9, 2026
@wylswz
wylswz added this pull request to the merge queue Jun 9, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 9, 2026
@QuantumGhost

Copy link
Copy Markdown
Member Author

There is a concurrent issue in upstream: langgenius/graphon#174. I'm still investigate the root cause

@QuantumGhost
QuantumGhost dismissed stale reviews from wylswz and FFXN via b368ded June 11, 2026 04:54
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Jun 11, 2026
@QuantumGhost QuantumGhost changed the title chore(api): Upgrade graphon to v0.5.0 chore(api): Upgrade graphon to v0.5.1 Jun 11, 2026
QuantumGhost and others added 3 commits June 11, 2026 12:55
graphon 0.5.x relocated LLMNode._split_reasoning into the new
graphon.nodes.llm.reasoning module as a free function split_reasoning,
and now strips <think>...</think> reasoning incrementally from the text
stream in separated mode (via ThinkStreamFilter) instead of only at the
final completion event.

- Point the TestReasoningFormat cases at reasoning.split_reasoning.
- Update the streaming test: in separated mode the <think> chunk is no
  longer emitted to the text selector, so only the clean 'answer' chunk
  streams; reindex the assertions accordingly.
@QuantumGhost
QuantumGhost enabled auto-merge June 11, 2026 06:58
@QuantumGhost
QuantumGhost added this pull request to the merge queue Jun 11, 2026
Merged via the queue into langgenius:main with commit b4c50eb Jun 11, 2026
34 checks passed
@QuantumGhost
QuantumGhost deleted the deps/upgrade-graphon-v0.5.0 branch June 11, 2026 07:52
Ssazurov pushed a commit to Ssazurov/dify that referenced this pull request Aug 8, 2026
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai>
Co-authored-by: L1nSn0w <l1nsn0w@qq.com>
zhangx1n added a commit that referenced this pull request Nov 4, 2026
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 added a commit that referenced this pull request Nov 4, 2026
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)
41tair pushed a commit that referenced this pull request Nov 4, 2026
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Refactor/Chore] Upgrade graphon to v0.5.1

4 participants