Skip to content

chore(deps): upgrade Graphon to 0.9.0 and adapt runtime contracts - #45356

Draft
WH-2099 wants to merge 9 commits into
mainfrom
chore/graphon-0.9.0
Draft

WH-2099 wants to merge 9 commits into
mainfrom
chore/graphon-0.9.0

Conversation

@WH-2099

@WH-2099 WH-2099 commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

AI disclosure: Codex assisted with the implementation and validation.

Summary

Upgrade the Dify API and standalone Agent to the published PyPI release of Graphon 0.9.0 and adapt consumers to its released contracts.
Both lockfiles select registry artifacts so the Agent image can install the release.

During an active run, function-calling and chat ReAct runners preserve ordered assistant content blocks and opaque provider state across tool calls.
Agent v2 retains the original assistant payload and pairs tool results with the provider's call IDs.
Named tool updates replace argument snapshots; unnamed updates append fragments, including updates that omit the call ID.
A real Agent tool regression checks the signed assistant payload and matching result sent on the next request.

Chatflow keeps the engine frame observations required by Graphon's response stream filter to resolve answer variables.
Full variable observations are consumed before events reach the host.
Reply text comes from the filtered stream, including Answers inside Loop and Iteration.
Removing the former node-completion replay prevents each nested answer from being emitted twice.
Real engine-to-queue regressions cover two replies in each container followed by a root reply.
Missing answer variables follow Graphon 0.9.0's empty-output contract.

The integration accepts secret segments in retrieval, dynamic email recipients and truncation, preserves JSON values in draft variable responses, and constructs webhook file variables directly from validated file references.
Generated workspace contracts include Graphon's boolean default values.

Refs #45355 and #41092.

Scope and upstream limitations

Provider state is retained for the active run; cross-request thinking replay remains outside this migration.
Graphon 0.9.0 does not support checkpoints after child response progress, including after the child finishes; this remains upstream work in Graphon #356.
The review also reproduced an upstream response-filter failure when a Workflow Tool and its caller reuse a container node ID.
This migration preserves Graphon's ownership of those behaviors.
Unmerged Graphon #421 and other unfinished upstream behavior are outside the released 0.8-to-0.9 adaptation.

Validation

  • Nested Answer, workflow entry and advanced chat pipeline checks: 181 tests passed, with both new container regressions failing before the fix.
  • API Agent runners and inner API checks: 299 tests passed.
  • Answer contracts, message replay and inner LLM service checks: 48 tests passed.
  • Workflow entry and webhook checks: 103 tests passed; related workflow container, aggregation and moderation checks also passed.
  • Standalone Agent LLM adapters and packaging: 115 tests and 40 subtests passed.
  • API make lint and make type-check, Agent Ruff and Pyrefly, both lockfile checks, and incremental test-double and multi-string Literal guards passed.
  • Latest commit hooks and staged test-double guard passed.
  • Main CI passed on 4fd3021e998: 29,343 API unit tests, API controller and integration tests, Agent and Web tests, and all browser E2E shards.
  • The first attempt hit an existing archive retry test whose global time.sleep mock can capture Ragas background-thread calls; the same commit passed when the failed shard was rerun.
  • Docker builds, KnowledgeFS CI and CodeQL passed.
  • Codecov passed with 90.22% API coverage and 94.23% patch coverage.

Provider responses were simulated at the HTTP boundary.
Live provider calls, Docker image builds and the full browser suite were not run locally.

@WH-2099 WH-2099 self-assigned this Nov 2, 2026
@github-actions github-actions Bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Nov 2, 2026
@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Pyrefly Type Coverage

Metric Base PR Delta
Type coverage 87.91% 87.91% +0.00%
Strict coverage 87.57% 87.57% +0.00%
Typed symbols 97,208 97,216 +8
Untyped symbols 13,423 13,421 -2
Modules 4673 4674 +1

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-11-26 11:35:18.345834104 +0000
+++ /tmp/pyrefly_pr.txt	2026-11-26 11:35:05.801780087 +0000
@@ -2643,7 +2643,7 @@
 ERROR `list[DummyTool]` is not assignable to attribute `_prompt_messages_tools` with type `Sequence[PromptMessageTool]` [bad-assignment]
   --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:52:39
 ERROR `DummyGenerateEntity` is not assignable to attribute `application_generate_entity` with type `AgentChatAppGenerateEntity` [bad-assignment]
-  --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:56:44
+  --> tests/unit_tests/core/agent/test_cot_chat_agent_runner.py:57:44
 ERROR `in` is not supported between `Literal['History']` and `None` [not-iterable]
    --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:175:16
 ERROR `in` is not supported between `Literal['Thought: Thinking']` and `None` [not-iterable]
@@ -2657,81 +2657,75 @@
 ERROR `in` is not supported between `Literal['Question: What is Python?']` and `None` [not-iterable]
    --> tests/unit_tests/core/agent/test_cot_completion_agent_runner.py:180:16
 ERROR `Literal[0]` is not assignable to attribute `prompt_price` with type `Decimal` [bad-assignment]
-  --> tests/unit_tests/core/agent/test_fc_agent_runner.py:53:26
+  --> tests/unit_tests/core/agent/test_fc_agent_runner.py:51:26
 ERROR `Literal[0]` is not assignable to attribute `completion_price` with type `Decimal` [bad-assignment]
-  --> tests/unit_tests/core/agent/test_fc_agent_runner.py:54:30
+  --> tests/unit_tests/core/agent/test_fc_agent_runner.py:52:30
 ERROR `Literal[0]` is not assignable to attribute `total_price` with type `Decimal` [bad-assignment]
-  --> tests/unit_tests/core/agent/test_fc_agent_runner.py:55:25
+  --> tests/unit_tests/core/agent/test_fc_agent_runner.py:53:25
 ERROR Missing argument `session` in function `core.agent.base_agent_runner.BaseAgentRunner.__init__` [missing-argument]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:216:37
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:188:37
 ERROR Object of class `FunctionCallAgentRunner` has no attribute `session` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:249:5
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:221:5
 ERROR Object of class `FunctionCallAgentRunner` has no attribute `session` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:260:9
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:232:9
 ERROR Argument `None` is not assignable to parameter `query` with type `str` in function `core.agent.fc_agent_runner.FunctionCallAgentRunner._organize_user_query` [bad-argument-type]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:361:46
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:333:46
 ERROR `list[str]` is not assignable to attribute `files` with type `Sequence[File] | list[File]` [bad-assignment]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:373:24
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:345:24
 ERROR Object of class `FunctionCallAgentRunner` has no attribute `session` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:429:58
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:401:58
 ERROR Object of class `FunctionCallAgentRunner` has no attribute `session` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:477:19
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:449:19
 ERROR Object of class `FunctionType` has no attribute `return_value` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:534:9
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:506:9
 ERROR Object of class `FunctionCallAgentRunner` has no attribute `session` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:536:35
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:508:35
 ERROR Object of class `FunctionType` has no attribute `call_args` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:538:33
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:510:33
 ERROR Object of class `FunctionType` has no attribute `call_args` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:539:33
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:511:33
 ERROR Object of class `FunctionType` has no attribute `call_args` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:540:16
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:512:16
 ERROR Object of class `FunctionType` has no attribute `assert_called` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:545:9
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:517:9
 ERROR Object of class `FunctionType` has no attribute `call_args_list` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:547:23
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:519:23
 ERROR Object of class `FunctionCallAgentRunner` has no attribute `session` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:553:19
-ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:570:57
-ERROR Object of class `FunctionType` has no attribute `return_value` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:576:9
-ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:592:57
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:525:19
+ERROR Object of class `FunctionType` has no attribute `return_value` [missing-attribute]
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:548:9
 ERROR Object of class `FunctionType` has no attribute `side_effect` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:600:9
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:569:9
 ERROR Object of class `FunctionCallAgentRunner` has no attribute `session` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:602:35
-ERROR Argument `list[TextPromptMessageContent]` is not assignable to parameter `content` with type `str | None` in function `DummyMessage.__init__` [bad-argument-type]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:608:46
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:571:35
 ERROR Object of class `FunctionType` has no attribute `return_value` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:611:9
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:580:9
 ERROR Object of class `FunctionCallAgentRunner` has no attribute `session` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:613:35
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:582:35
 ERROR Object of class `FunctionType` has no attribute `call_args` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:615:16
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:584:16
 ERROR Object of class `FunctionType` has no attribute `return_value` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:631:9
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:597:9
 ERROR Object of class `FunctionCallAgentRunner` has no attribute `session` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:642:35
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:608:35
 ERROR Object of class `FunctionType` has no attribute `side_effect` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:658:9
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:621:9
 ERROR Object of class `FunctionCallAgentRunner` has no attribute `session` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:660:35
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:623:35
 ERROR Object of class `FunctionType` has no attribute `side_effect` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:677:9
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:637:9
 ERROR Object of class `FunctionType` has no attribute `return_value` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:682:9
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:642:9
 ERROR Object of class `FunctionCallAgentRunner` has no attribute `session` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:691:35
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:651:35
 ERROR Object of class `FunctionType` has no attribute `call_args_list` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:698:25
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:658:25
 ERROR Object of class `NoneType` has no attribute `max_iteration` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:702:9
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:662:9
 ERROR Object of class `FunctionType` has no attribute `return_value` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:714:9
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:671:9
 ERROR Object of class `FunctionCallAgentRunner` has no attribute `session` [missing-attribute]
-   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:717:29
+   --> tests/unit_tests/core/agent/test_fc_agent_runner.py:674:29
 ERROR Argument `dict[Unknown, Unknown]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
   --> tests/unit_tests/core/app/app_config/easy_ui_based_app/variables/test_manager.py:14:67
 ERROR Argument `dict[str, list[dict[str, bool | str | dict[str, str]] | dict[str, bool]]]` is not assignable to parameter `config` with type `AppModelConfigDict` in function `core.app.app_config.easy_ui_based_app.variables.manager.BasicVariablesConfigManager.convert` [bad-argument-type]
@@ -3378,18 +3372,16 @@
    --> tests/unit_tests/core/app/apps/test_workflow_app_runner.py:869:61
 ERROR Object of class `object` has no attribute `metadata` [missing-attribute]
    --> tests/unit_tests/core/app/apps/test_workflow_app_runner.py:871:60
-ERROR Argument `TestWorkflowAppRunnerCoreCases.TestWorkflowBasedAppRunner.test_handle_nested_answer_success_publishes_text_chunk._QueueManager` is not assignable to parameter `queue_manager` with type `AppQueueManager` in function `core.app.apps.workflow_app_runner.WorkflowBasedAppRunner.__init__` [bad-argument-type]
-   --> tests/unit_tests/core/app/apps/test_workflow_app_runner.py:893:59
-ERROR `Literal['iteration_id']` is not assignable to dict key type `WorkflowNodeExecutionMetadataKey` [bad-assignment]
-   --> tests/unit_tests/core/app/apps/test_workflow_app_runner.py:905:75
+ERROR Argument `Mapping[str, Any] | None` is not assignable to parameter `graph_config` with type `Mapping[str, Any]` in function `core.workflow.workflow_entry.WorkflowEntry.__init__` [bad-argument-type]
+   --> tests/unit_tests/core/app/apps/test_workflow_app_runner.py:945:48
 ERROR Argument `TestWorkflowAppRunnerCoreCases.TestWorkflowBasedAppRunner.test_handle_root_answer_success_does_not_publish_extra_text_chunk._QueueManager` is not assignable to parameter `queue_manager` with type `AppQueueManager` in function `core.app.apps.workflow_app_runner.WorkflowBasedAppRunner.__init__` [bad-argument-type]
-   --> tests/unit_tests/core/app/apps/test_workflow_app_runner.py:925:59
+   --> tests/unit_tests/core/app/apps/test_workflow_app_runner.py:963:59
 ERROR Argument `TestWorkflowAppRunnerCoreCases.TestWorkflowBasedAppRunner.test_handle_start_node_result_events_project_outputs._QueueManager` is not assignable to parameter `queue_manager` with type `AppQueueManager` in function `core.app.apps.workflow_app_runner.WorkflowBasedAppRunner.__init__` [bad-argument-type]
-    --> tests/unit_tests/core/app/apps/test_workflow_app_runner.py:1004:59
+    --> tests/unit_tests/core/app/apps/test_workflow_app_runner.py:1042:59
 ERROR Argument `_DummyQueueManager` is not assignable to parameter `queue_manager` with type `AppQueueManager` in function `core.app.apps.workflow_app_runner.WorkflowBasedAppRunner.__init__` [bad-argument-type]
-    --> tests/unit_tests/core/app/apps/test_workflow_app_runner.py:1056:55
+    --> tests/unit_tests/core/app/apps/test_workflow_app_runner.py:1094:55
 ERROR Argument `_DummyWorkflowEntry` is not assignable to parameter `workflow_entry` with type `WorkflowEntry` in function `core.app.apps.workflow_app_runner.WorkflowBasedAppRunner.handle_event` [bad-argument-type]
-    --> tests/unit_tests/core/app/apps/test_workflow_app_runner.py:1073:29
+    --> tests/unit_tests/core/app/apps/test_workflow_app_runner.py:1111:29
 ERROR Argument `tuple[Literal['layer']]` is not assignable to parameter `graph_engine_layers` with type `Sequence[Layer]` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator.resume` [bad-argument-type]
    --> tests/unit_tests/core/app/apps/workflow/test_app_generator.py:643:33
 ERROR Argument `tuple[Literal['base-layer']]` is not assignable to parameter `graph_engine_layers` with type `Sequence[Layer]` in function `core.app.apps.workflow.app_generator.WorkflowAppGenerator._generate` [bad-argument-type]
@@ -4666,37 +4658,37 @@
 ERROR Argument `dict[str, bool]` is not assignable to parameter `summary_index_setting` with type `SummaryIndexSettingDict | None` in function `core.workflow.nodes.knowledge_index.knowledge_index_node.KnowledgeIndexNode._invoke_knowledge_index` [bad-argument-type]
    --> tests/unit_tests/core/workflow/nodes/knowledge_index/test_knowledge_index_node.py:638:35
 ERROR `None` is not subscriptable [unsupported-operation]
-   --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:615:16
+   --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:641:16
 ERROR `None` is not subscriptable [unsupported-operation]
-   --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:616:27
+   --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:642:27
 ERROR `None` is not subscriptable [unsupported-operation]
-   --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:617:16
+   --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:643:16
 ERROR `None` is not subscriptable [unsupported-operation]
-   --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:618:16
+   --> tests/unit_tests/core/workflow/nodes/knowledge_retrieval/test_knowledge_retrieval_node.py:644:16
 ERROR Object of class `RuntimeState` has no attribute `app_config` [missing-attribute]
   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:66:5
 ERROR Object of class `RuntimeState` has no attribute `app_config` [missing-attribute]
   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:67:5
 ERROR Object of class `RuntimeState` has no attribute `app_config` [missing-attribute]
-   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:485:5
+   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:437:5
 ERROR Cannot index into `object` [bad-index]
-   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:503:12
+   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:455:12
 ERROR Cannot index into `object` [bad-index]
-   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:504:12
+   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:456:12
 ERROR Cannot index into `object` [bad-index]
-   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:505:12
+   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:457:12
 ERROR Cannot index into `object` [bad-index]
-   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:506:12
+   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:458:12
 ERROR Cannot index into `object` [bad-index]
-   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:507:12
+   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:459:12
 ERROR Cannot index into `object` [bad-index]
-   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:508:12
+   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:460:12
 ERROR Cannot index into `object` [bad-index]
-   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:509:12
+   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:461:12
 ERROR Cannot index into `object` [bad-index]
-   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:510:12
+   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:462:12
 ERROR Cannot index into `object` [bad-index]
-   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:511:12
+   --> tests/unit_tests/core/workflow/nodes/trigger_webhook/test_node.py:463:12
 ERROR Argument `SimpleNamespace` is not assignable to parameter `runtime_state` with type `RuntimeState` in function `core.workflow.node_factory.DifyNodeFactory.__init__` [bad-argument-type]
    --> tests/unit_tests/core/workflow/test_node_factory.py:125:31
 ERROR Class member `_Version1.init_node_data` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
@@ -4808,39 +4800,39 @@
 ERROR Object of class `object` has no attribute `tool` [missing-attribute]
     --> tests/unit_tests/core/workflow/test_node_runtime.py:2262:16
 WARN Cannot instantiate `BaseNodeData` because it directly extends `ABC` or uses `ABCMeta` [direct-abstract-base-instantiation]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1010:50
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1047:50
 ERROR `in` is not supported between `Literal['Maximum execution steps exceeded: 3 > 2']` and `None` [not-iterable]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1067:20
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1104:20
 WARN Cannot instantiate `BaseNodeData` because it directly extends `ABC` or uses `ABCMeta` [direct-abstract-base-instantiation]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1200:37
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1237:37
 ERROR Class member `EmptySplitKey.split` overrides parent class `UserString` in an inconsistent manner [bad-override]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1632:21
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1669:21
 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.py:1632:21
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1669:21
 ERROR `TestWorkflowEntryHelpersCases.TestMappingUserInputsBranches.test_rejects_invalid_node_variable_key.EmptySplitKey` is not assignable to dict key type `str` [bad-assignment]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1637:39
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1674:39
 ERROR Argument `TestWorkflowEntryHelpersCases.TestWorkflowEntryNodeLayers.test_run_node_with_layers_reports_success.FakeNode` is not assignable to parameter `node` with type `Node[Unknown]` in function `core.workflow.workflow_entry.WorkflowEntry._run_node_with_layers` [bad-argument-type]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1740:82
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1777:82
 ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1745:17
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1782:17
 ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1746:17
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1783:17
 ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1747:17
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1784:17
 ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1748:17
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1785:17
 ERROR Object of class `FunctionType` has no attribute `assert_called_once_with` [missing-attribute]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1749:17
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1786:17
 ERROR Argument `TestWorkflowEntryHelpersCases.TestWorkflowEntryNodeLayers.test_run_node_with_layers_reports_errors.FakeNode` is not assignable to parameter `node` with type `Node[Unknown]` in function `core.workflow.workflow_entry.WorkflowEntry._run_node_with_layers` [bad-argument-type]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1776:77
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1813:77
 ERROR Object of class `FunctionType` has no attribute `call_args` [missing-attribute]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1779:24
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1816:24
 ERROR Object of class `FunctionType` has no attribute `call_args` [missing-attribute]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1780:35
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1817:35
 ERROR Object of class `FunctionType` has no attribute `call_args` [missing-attribute]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1781:24
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1818:24
 ERROR Object of class `FunctionType` has no attribute `call_args` [missing-attribute]
-    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1782:35
+    --> tests/unit_tests/core/workflow/test_workflow_entry.py:1819:35
 ERROR Object of class `object` has no attribute `append` [missing-attribute]
    --> tests/unit_tests/dev/test_generate_knowledge_fs_contract.py:121:13
 ERROR Cannot set item in `object` [unsupported-operation]

@github-actions github-actions Bot added the web This relates to changes on the web. label Nov 2, 2026
@codecov

codecov Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.23077% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.26%. Comparing base (719c7cd) to head (4fd3021).
⚠️ Report is 17 commits behind head on main.

Files with missing lines Patch % Lines
api/core/agent/fc_agent_runner.py 81.25% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #45356      +/-   ##
==========================================
- Coverage   90.49%   90.26%   -0.24%     
==========================================
  Files        6604     6409     -195     
  Lines      410432   406865    -3567     
  Branches    82218    80665    -1553     
==========================================
- Hits       371432   367265    -4167     
- Misses      32611    33216     +605     
+ Partials     6389     6384       -5     
Flag Coverage Δ
api 90.22% <94.23%> (+0.01%) ⬆️
cli 94.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@WH-2099
WH-2099 force-pushed the chore/graphon-0.9.0 branch from 8c3f7b5 to 5890535 Compare November 11, 2026 07:24
QuantumGhost and others added 3 commits November 26, 2026 14:08
Merge current main into the Graphon integration branch and use the published package in both runtimes. Preserve signed assistant turns during active tool calls while keeping existing history storage and tool ID handling.

Assisted-by: Codex:gpt-6.2-astra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL This PR changes 1000+ lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants