Skip to content

chore(agent-v2): sync changes#38442

Merged
lyzno1 merged 67 commits into
mainfrom
feat/agent-v2
Jul 6, 2026
Merged

chore(agent-v2): sync changes#38442
lyzno1 merged 67 commits into
mainfrom
feat/agent-v2

Conversation

@lyzno1

@lyzno1 lyzno1 commented Jul 6, 2026

Copy link
Copy Markdown
Member

Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

Screenshots

Before After
... ...

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran make lint && make type-check (backend) and cd web && pnpm exec vp staged (frontend) to appease the lint gods

@github-actions github-actions Bot added web This relates to changes on the web. e2e End-to-end tests and E2E test infrastructure. labels Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Pyrefly Type Coverage

Metric Base PR Delta
Type coverage 52.39% 52.39% +0.00%
Strict coverage 51.90% 51.90% +0.00%
Typed symbols 32,092 32,120 +28
Untyped symbols 29,442 29,465 +23
Modules 2970 2974 +4

@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 89.02439% with 63 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.34%. Comparing base (bdb3469) to head (17b5f65).

Files with missing lines Patch % Lines
...res/agent-v2/agent-composer/store-modules/tools.ts 80.76% 15 Missing ⚠️
...ure/components/orchestrate/prompt-editor/index.tsx 89.06% 7 Missing ⚠️
...il/configure/components/orchestrate/tools/hooks.ts 81.48% 5 Missing ⚠️
...tures/agent-v2/agent-composer/store-modules/env.ts 86.20% 4 Missing ⚠️
.../components/orchestrate/skills/use-skill-detail.ts 75.00% 4 Missing ⚠️
...workflow/nodes/agent_v2/runtime_request_builder.py 76.92% 1 Missing and 2 partials ⚠️
api/services/agent/composer_validator.py 82.35% 1 Missing and 2 partials ⚠️
...l/configure/components/orchestrate/files/index.tsx 90.00% 3 Missing ⚠️
...re/components/orchestrate/skills/detail-dialog.tsx 66.66% 3 Missing ⚠️
...ponents/orchestrate/tools/provider-tool/dialog.tsx 83.33% 3 Missing ⚠️
... and 8 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #38442      +/-   ##
==========================================
+ Coverage   85.31%   85.34%   +0.03%     
==========================================
  Files        5000     5003       +3     
  Lines      264953   265284     +331     
  Branches    50366    50424      +58     
==========================================
+ Hits       226042   226419     +377     
+ Misses      34466    34415      -51     
- Partials     4445     4450       +5     
Flag Coverage Δ
api 85.59% <92.89%> (+0.02%) ⬆️
dify-ui 94.72% <ø> (ø)
web 84.90% <87.40%> (+0.05%) ⬆️

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.

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-07-06 13:31:19.841835360 +0000
+++ /tmp/pyrefly_pr.txt	2026-07-06 13:31:10.508991472 +0000
@@ -1916,6 +1916,18 @@
   --> tests/unit_tests/conftest.py:48:13
 ERROR Object of class `ModuleType` has no attribute `pubsub_redis_client` [missing-attribute]
   --> tests/unit_tests/conftest.py:50:13
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `controllers.common.agent_app_parameters.get_published_agent_app_feature_dict_and_user_input_form` [bad-argument-type]
+  --> tests/unit_tests/controllers/common/test_agent_app_parameters.py:49:95
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `controllers.common.agent_app_parameters.get_published_agent_app_feature_dict_and_user_input_form` [bad-argument-type]
+  --> tests/unit_tests/controllers/common/test_agent_app_parameters.py:72:66
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `controllers.common.agent_app_parameters.get_published_agent_app_feature_dict_and_user_input_form` [bad-argument-type]
+  --> tests/unit_tests/controllers/common/test_agent_app_parameters.py:84:66
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `controllers.common.agent_app_parameters.get_published_agent_app_feature_dict_and_user_input_form` [bad-argument-type]
+   --> tests/unit_tests/controllers/common/test_agent_app_parameters.py:110:66
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `controllers.common.agent_app_parameters.get_published_agent_app_feature_dict_and_user_input_form` [bad-argument-type]
+   --> tests/unit_tests/controllers/common/test_agent_app_parameters.py:128:66
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `controllers.common.agent_app_parameters.get_published_agent_app_feature_dict_and_user_input_form` [bad-argument-type]
+   --> tests/unit_tests/controllers/common/test_agent_app_parameters.py:146:95
 ERROR No attribute `MethodView` in module `builtins` [missing-attribute]
  --> tests/unit_tests/controllers/common/test_fields.py:8:5
 ERROR Cannot index into `object` [bad-index]
@@ -2233,19 +2245,19 @@
 ERROR Object of class `FunctionType` has no attribute `view_class` [missing-attribute]
   --> tests/unit_tests/controllers/openapi/test_device_token.py:31:12
 ERROR Object of class `UnprocessableEntity` has no attribute `data` [missing-attribute]
-   --> tests/unit_tests/controllers/openapi/test_error_contract.py:105:9
+   --> tests/unit_tests/controllers/openapi/test_error_contract.py:106:9
 ERROR Object of class `UnprocessableEntity` has no attribute `data` [missing-attribute]
-   --> tests/unit_tests/controllers/openapi/test_error_contract.py:118:16
+   --> tests/unit_tests/controllers/openapi/test_error_contract.py:119:16
 ERROR Object of class `UnprocessableEntity` has no attribute `data` [missing-attribute]
-   --> tests/unit_tests/controllers/openapi/test_error_contract.py:122:9
+   --> tests/unit_tests/controllers/openapi/test_error_contract.py:123:9
 ERROR Object of class `UnprocessableEntity` has no attribute `data` [missing-attribute]
-   --> tests/unit_tests/controllers/openapi/test_error_contract.py:137:9
+   --> tests/unit_tests/controllers/openapi/test_error_contract.py:138:9
 ERROR No matching overload found for function `dict.__init__` called with arguments: (dict[str, Any] | None) [no-matching-overload]
-   --> tests/unit_tests/controllers/openapi/test_error_contract.py:146:20
+   --> tests/unit_tests/controllers/openapi/test_error_contract.py:147:20
 ERROR Object of class `Conflict` has no attribute `hint` [missing-attribute]
-   --> tests/unit_tests/controllers/openapi/test_error_contract.py:155:9
+   --> tests/unit_tests/controllers/openapi/test_error_contract.py:156:9
 ERROR No matching overload found for function `dict.__init__` called with arguments: (dict[str, Any] | None) [no-matching-overload]
-   --> tests/unit_tests/controllers/openapi/test_error_contract.py:220:48
+   --> tests/unit_tests/controllers/openapi/test_error_contract.py:221:48
 ERROR Object of class `NoneType` has no attribute `total_tokens` [missing-attribute]
   --> tests/unit_tests/controllers/openapi/test_models.py:13:12
 ERROR Argument `test_verify_approval_grant_raises_on_missing_field._FakeKeyset` is not assignable to parameter `keyset` with type `KeySet` in function `libs.jws.sign` [bad-argument-type]
@@ -2285,15 +2297,15 @@
 ERROR `None` is not subscriptable [unsupported-operation]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:186:16
 ERROR Argument `list[dict[str, Any]] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
-   --> tests/unit_tests/controllers/service_api/app/test_completion.py:152:20
+   --> tests/unit_tests/controllers/service_api/app/test_completion.py:154:20
 ERROR Missing argument `session` in function `services.app_generate_service.AppGenerateService.generate` [missing-argument]
-   --> tests/unit_tests/controllers/service_api/app/test_completion.py:252:45
+   --> tests/unit_tests/controllers/service_api/app/test_completion.py:254:45
 ERROR Missing argument `session` in function `services.app_generate_service.AppGenerateService.generate` [missing-argument]
-   --> tests/unit_tests/controllers/service_api/app/test_completion.py:264:40
+   --> tests/unit_tests/controllers/service_api/app/test_completion.py:266:40
 ERROR Missing argument `session` in function `services.app_generate_service.AppGenerateService.generate` [missing-argument]
-   --> tests/unit_tests/controllers/service_api/app/test_completion.py:274:40
+   --> tests/unit_tests/controllers/service_api/app/test_completion.py:276:40
 ERROR Missing argument `session` in function `services.app_generate_service.AppGenerateService.generate` [missing-argument]
-   --> tests/unit_tests/controllers/service_api/app/test_completion.py:284:40
+   --> tests/unit_tests/controllers/service_api/app/test_completion.py:286:40
 ERROR Argument value `Literal[0]` violates Pydantic `ge` constraint `Literal[1]` for field `limit` [bad-argument-type]
   --> tests/unit_tests/controllers/service_api/app/test_conversation.py:82:35
 ERROR Argument value `Literal[101]` violates Pydantic `le` constraint `Literal[100]` for field `limit` [bad-argument-type]
@@ -3276,9 +3288,13 @@
 ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.agent_app.app_generator.AgentAppGenerator._resolve_agent` [bad-argument-type]
   --> tests/unit_tests/core/app/apps/agent_app/test_resolve_agent.py:92:18
 ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.agent_app.app_generator.AgentAppGenerator._resolve_agent` [bad-argument-type]
-   --> tests/unit_tests/core/app/apps/agent_app/test_resolve_agent.py:105:17
+   --> tests/unit_tests/core/app/apps/agent_app/test_resolve_agent.py:111:17
 ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.agent_app.app_generator.AgentAppGenerator._resolve_agent` [bad-argument-type]
-   --> tests/unit_tests/core/app/apps/agent_app/test_resolve_agent.py:108:22
+   --> tests/unit_tests/core/app/apps/agent_app/test_resolve_agent.py:114:22
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `core.app.apps.agent_app.app_generator.AgentAppGenerator._resolve_agent` [bad-argument-type]
+   --> tests/unit_tests/core/app/apps/agent_app/test_resolve_agent.py:122:17
+ERROR Argument `SimpleNamespace` is not assignable to parameter `user` with type `Account | EndUser` in function `core.app.apps.agent_app.app_generator.AgentAppGenerator._resolve_agent` [bad-argument-type]
+   --> tests/unit_tests/core/app/apps/agent_app/test_resolve_agent.py:125:22
 ERROR Object of class `LayerConfig` has no attribute `plugin_id`
 ERROR Object of class `LayerConfig` has no attribute `model_provider`
 ERROR Object of class `LayerConfig` has no attribute `conversation_id`
@@ -6206,25 +6222,29 @@
 ERROR Cannot index into `object` [bad-index]
    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:218:22
 ERROR Cannot index into `object` [bad-index]
-    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1116:25
+    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1125:25
 ERROR Cannot index into `object` [bad-index]
-    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1117:18
+    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1126:18
 ERROR Class member `FileVariablePool.get` overrides parent class `FakeVariablePool` in an inconsistent manner [bad-override]
-    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1134:13
+    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1143:13
 ERROR Class member `FileVariablePool.get` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
-    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1134:13
+    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1143:13
 ERROR Cannot index into `object` [bad-index]
-    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1159:12
+    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1168:12
 ERROR Cannot index into `object` [bad-index]
-    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1195:12
+    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1204:12
 ERROR Class member `FileArrayVariablePool.get` overrides parent class `FakeVariablePool` in an inconsistent manner [bad-override]
-    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1206:13
+    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1215:13
 ERROR Class member `FileArrayVariablePool.get` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
-    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1206:13
+    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1215:13
+ERROR Class member `UploadedFilesVariablePool.get` overrides parent class `FakeVariablePool` in an inconsistent manner [bad-override]
+    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1268:13
+ERROR Class member `UploadedFilesVariablePool.get` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
+    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1268:13
 ERROR Class member `LongRemoteUrlVariablePool.get` overrides parent class `FakeVariablePool` in an inconsistent manner [bad-override]
-    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1259:13
+    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1310:13
 ERROR Class member `LongRemoteUrlVariablePool.get` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
-    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1259:13
+    --> tests/unit_tests/core/workflow/nodes/agent_v2/test_runtime_request_builder.py:1310:13
 ERROR Object of class `LayerConfig` has no attribute `prefix`
 ERROR Object of class `LayerConfig` has no attribute `prefix`
 ERROR Class member `_WaitableFakeAgentBackendRunClient.wait_run` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
@@ -6989,75 +7009,75 @@
 ERROR Argument `SimpleNamespace` is not assignable to parameter `pause_model` with type `WorkflowPause` in function `repositories.sqlalchemy_api_workflow_run_repository._PrivateWorkflowPauseEntity.__init__` [bad-argument-type]
    --> tests/unit_tests/repositories/test_sqlalchemy_api_workflow_run_repository.py:121:21
 ERROR Argument `SimpleNamespace` is not assignable to parameter `binding` with type `WorkflowAgentNodeBinding` in function `services.agent.composer_service.AgentComposerService._workflow_inline_debug_conversation_id` [bad-argument-type]
-   --> tests/unit_tests/services/agent/test_agent_services.py:257:17
+   --> tests/unit_tests/services/agent/test_agent_services.py:258:17
 ERROR Argument `SimpleNamespace` is not assignable to parameter `agent` with type `Agent | None` in function `services.agent.composer_service.AgentComposerService._workflow_inline_debug_conversation_id` [bad-argument-type]
-   --> tests/unit_tests/services/agent/test_agent_services.py:258:15
+   --> tests/unit_tests/services/agent/test_agent_services.py:259:15
 ERROR Argument `SimpleNamespace` is not assignable to parameter `binding` with type `WorkflowAgentNodeBinding` in function `services.agent.composer_service.AgentComposerService._workflow_inline_debug_conversation_id` [bad-argument-type]
-   --> tests/unit_tests/services/agent/test_agent_services.py:278:21
+   --> tests/unit_tests/services/agent/test_agent_services.py:279:21
 ERROR Argument `SimpleNamespace` is not assignable to parameter `agent` with type `Agent | None` in function `services.agent.composer_service.AgentComposerService._workflow_inline_debug_conversation_id` [bad-argument-type]
-   --> tests/unit_tests/services/agent/test_agent_services.py:279:19
+   --> tests/unit_tests/services/agent/test_agent_services.py:280:19
 ERROR Argument `SimpleNamespace` is not assignable to parameter `binding` with type `WorkflowAgentNodeBinding` in function `services.agent.composer_service.AgentComposerService._workflow_inline_debug_conversation_id` [bad-argument-type]
-   --> tests/unit_tests/services/agent/test_agent_services.py:287:21
+   --> tests/unit_tests/services/agent/test_agent_services.py:288:21
 ERROR Argument `SimpleNamespace` is not assignable to parameter `agent` with type `Agent | None` in function `services.agent.composer_service.AgentComposerService._workflow_inline_debug_conversation_id` [bad-argument-type]
-   --> tests/unit_tests/services/agent/test_agent_services.py:288:19
+   --> tests/unit_tests/services/agent/test_agent_services.py:289:19
 ERROR Object of class `object` has no attribute `prompt` [missing-attribute]
-    --> tests/unit_tests/services/agent/test_agent_services.py:1169:12
+    --> tests/unit_tests/services/agent/test_agent_services.py:1219:12
 ERROR Cannot index into `object` [bad-index]
-    --> tests/unit_tests/services/agent/test_agent_services.py:1345:12
+    --> tests/unit_tests/services/agent/test_agent_services.py:1395:12
 ERROR Cannot index into `object` [bad-index]
-    --> tests/unit_tests/services/agent/test_agent_services.py:1346:12
+    --> tests/unit_tests/services/agent/test_agent_services.py:1396:12
 ERROR Cannot index into `object` [bad-index]
-    --> tests/unit_tests/services/agent/test_agent_services.py:1347:12
+    --> tests/unit_tests/services/agent/test_agent_services.py:1397:12
 ERROR Cannot index into `object` [bad-index]
-    --> tests/unit_tests/services/agent/test_agent_services.py:1349:12
+    --> tests/unit_tests/services/agent/test_agent_services.py:1399:12
 ERROR Cannot index into `object` [bad-index]
-    --> tests/unit_tests/services/agent/test_agent_services.py:1350:12
+    --> tests/unit_tests/services/agent/test_agent_services.py:1400:12
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `scoped_session[Unknown]` in function `services.app_service.AppService._build_app_list_filters` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:2660:61
+    --> tests/unit_tests/services/agent/test_agent_services.py:2710:61
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `scoped_session[Unknown]` in function `services.app_service.AppService._build_app_list_filters` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:2669:63
+    --> tests/unit_tests/services/agent/test_agent_services.py:2719:63
 ERROR Object of class `object` has no attribute `name` [missing-attribute]
-    --> tests/unit_tests/services/agent/test_agent_services.py:3147:16
+    --> tests/unit_tests/services/agent/test_agent_services.py:3197:16
 ERROR Object of class `object` has no attribute `mode` [missing-attribute]
-    --> tests/unit_tests/services/agent/test_agent_services.py:3148:16
+    --> tests/unit_tests/services/agent/test_agent_services.py:3198:16
 ERROR Object of class `object` has no attribute `agent_role` [missing-attribute]
-    --> tests/unit_tests/services/agent/test_agent_services.py:3149:16
+    --> tests/unit_tests/services/agent/test_agent_services.py:3199:16
 ERROR Object of class `object` has no attribute `agent_role` [missing-attribute]
-    --> tests/unit_tests/services/agent/test_agent_services.py:3225:16
+    --> tests/unit_tests/services/agent/test_agent_services.py:3275:16
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.sync_roster_agent_bindings_for_draft` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:3479:21
+    --> tests/unit_tests/services/agent/test_agent_services.py:3529:21
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.validate_agent_nodes_for_publish` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:3506:25
+    --> tests/unit_tests/services/agent/test_agent_services.py:3556:25
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.validate_agent_nodes_for_publish` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:3528:25
+    --> tests/unit_tests/services/agent/test_agent_services.py:3578:25
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.project_draft_bindings_to_graph` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:3592:21
+    --> tests/unit_tests/services/agent/test_agent_services.py:3642:21
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.project_draft_bindings_to_graph` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:3649:21
+    --> tests/unit_tests/services/agent/test_agent_services.py:3699:21
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.project_draft_bindings_to_graph` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:3700:21
+    --> tests/unit_tests/services/agent/test_agent_services.py:3750:21
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.sync_roster_agent_bindings_for_draft` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:3753:21
-ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.sync_agent_bindings_for_draft` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:3848:21
+    --> tests/unit_tests/services/agent/test_agent_services.py:3803:21
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.sync_agent_bindings_for_draft` [bad-argument-type]
     --> tests/unit_tests/services/agent/test_agent_services.py:3898:21
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.sync_agent_bindings_for_draft` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:3949:25
+    --> tests/unit_tests/services/agent/test_agent_services.py:3948:21
+ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.sync_agent_bindings_for_draft` [bad-argument-type]
+    --> tests/unit_tests/services/agent/test_agent_services.py:3999:25
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.sync_agent_bindings_for_draft` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:3981:25
+    --> tests/unit_tests/services/agent/test_agent_services.py:4031:25
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.sync_agent_bindings_for_draft` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:4014:21
+    --> tests/unit_tests/services/agent/test_agent_services.py:4064:21
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.sync_agent_bindings_for_draft` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:4064:25
+    --> tests/unit_tests/services/agent/test_agent_services.py:4114:25
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.sync_roster_agent_bindings_for_draft` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:4124:21
+    --> tests/unit_tests/services/agent/test_agent_services.py:4174:21
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.sync_roster_agent_bindings_for_draft` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:4194:21
+    --> tests/unit_tests/services/agent/test_agent_services.py:4244:21
 ERROR Argument `FakeSession` is not assignable to parameter `session` with type `Session` in function `services.agent.workflow_publish_service.WorkflowAgentPublishService.sync_roster_agent_bindings_for_draft` [bad-argument-type]
-    --> tests/unit_tests/services/agent/test_agent_services.py:4227:21
+    --> tests/unit_tests/services/agent/test_agent_services.py:4277:21
 ERROR Cannot set item in `dict[str, str]` [unsupported-operation]
-    --> tests/unit_tests/services/agent/test_agent_services.py:4604:31
+    --> tests/unit_tests/services/agent/test_agent_services.py:4659:31
 ERROR Object of class `NoneType` has no attribute `workflow_prompt` [missing-attribute]
    --> tests/unit_tests/services/agent/test_composer_mention_validation.py:113:5
 ERROR Argument `object` is not assignable to parameter `pwd` with type `bytes | None` in function `zipfile.ZipFile.read` [bad-argument-type]
@@ -7387,13 +7407,13 @@
 ERROR Argument `_FakeWriteSession` is not assignable to parameter `session` with type `scoped_session[Unknown]` in function `services.agent_app_feature_service.AgentAppFeatureConfigService.update_features` [bad-argument-type]
    --> tests/unit_tests/services/test_agent_app_feature_service.py:102:21
 ERROR Object of class `FromClause` has no attribute `create` [missing-attribute]
-   --> tests/unit_tests/services/test_agent_app_sandbox_service.py:166:5
+   --> tests/unit_tests/services/test_agent_app_sandbox_service.py:192:5
 ERROR Object of class `FromClause` has no attribute `drop` [missing-attribute]
-   --> tests/unit_tests/services/test_agent_app_sandbox_service.py:171:5
+   --> tests/unit_tests/services/test_agent_app_sandbox_service.py:197:5
 ERROR Object of class `object` has no attribute `session_snapshot` [missing-attribute]
-   --> tests/unit_tests/services/test_agent_app_sandbox_service.py:259:12
+   --> tests/unit_tests/services/test_agent_app_sandbox_service.py:383:12
 ERROR Object of class `object` has no attribute `session_snapshot` [missing-attribute]
-   --> tests/unit_tests/services/test_agent_app_sandbox_service.py:292:12
+   --> tests/unit_tests/services/test_agent_app_sandbox_service.py:416:12
 ERROR Argument `SimpleNamespace` is not assignable to parameter `version` with type `AgentConfigDraft | AgentConfigSnapshot` in function `services.agent_config_service.AgentConfigTarget.__init__` [bad-argument-type]
   --> tests/unit_tests/services/test_agent_config_service.py:69:17
 ERROR Object of class `FromClause` has no attribute `create` [missing-attribute]

@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jul 6, 2026
@lyzno1 lyzno1 enabled auto-merge July 6, 2026 11:08
@lyzno1 lyzno1 added this pull request to the merge queue Jul 6, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jul 6, 2026
Merged via the queue into main with commit d0ea5a5 Jul 6, 2026
47 checks passed
@lyzno1 lyzno1 deleted the feat/agent-v2 branch July 6, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e2e End-to-end tests and E2E test infrastructure. lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 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.

5 participants