Repository navigation
Conversation
…roviderToController
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-10-31 02:30:03.619580727 +0000
+++ /tmp/pyrefly_pr.txt 2026-10-31 02:29:49.699397685 +0000
@@ -6313,15 +6313,15 @@
ERROR Argument `dict[str, str | dict[str, str]]` is not assignable to parameter `node_config` with type `NodeConfigDict` in function `services.workflow_service.WorkflowService._build_human_input_node_for_debugging` [bad-argument-type]
--> tests/unit_tests/services/test_workflow_service.py:3976:69
ERROR Object of class `MCPToolProvider` has no attribute `provider_icon` [missing-attribute]
- --> tests/unit_tests/services/tools/test_tools_transform_service.py:80:9
+ --> tests/unit_tests/services/tools/test_tools_transform_service.py:82:9
ERROR Object of class `MCPToolProvider` has no attribute `masked_server_url` [missing-attribute]
- --> tests/unit_tests/services/tools/test_tools_transform_service.py:81:9
+ --> tests/unit_tests/services/tools/test_tools_transform_service.py:83:9
ERROR Object of class `MCPToolProvider` has no attribute `masked_headers` [missing-attribute]
- --> tests/unit_tests/services/tools/test_tools_transform_service.py:82:9
+ --> tests/unit_tests/services/tools/test_tools_transform_service.py:84:9
ERROR Object of class `MCPToolProvider` has no attribute `decrypted_headers` [missing-attribute]
- --> tests/unit_tests/services/tools/test_tools_transform_service.py:83:9
+ --> tests/unit_tests/services/tools/test_tools_transform_service.py:85:9
ERROR Object of class `Mapping` has no attribute `startswith` [missing-attribute]
- --> tests/unit_tests/services/tools/test_tools_transform_service.py:797:20
+ --> tests/unit_tests/services/tools/test_tools_transform_service.py:819:20
ERROR Argument `dict[str, Any]` is not assignable to parameter `node_config` with type `NodeConfigDict` in function `services.trigger.schedule_service.ScheduleService.to_schedule_config` [bad-argument-type]
--> tests/unit_tests/services/trigger/test_schedule_service.py:533:61
ERROR Argument `dict[str, str | dict[str, str]]` is not assignable to parameter `node_config` with type `NodeConfigDict` in function `services.trigger.schedule_service.ScheduleService.to_schedule_config` [bad-argument-type]
|
Contributor
Pyrefly Type Coverage
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #45187 +/- ##
==========================================
- Coverage 89.84% 89.84% -0.01%
==========================================
Files 6244 6244
Lines 397482 397482
Branches 80170 80170
==========================================
- Hits 357116 357107 -9
- Misses 34063 34071 +8
- Partials 6303 6304 +1
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:
|
asukaminato0721
enabled auto-merge
October 31, 2026 04:42
asukaminato0721
approved these changes
Oct 31, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 31, 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.
Summary
Part of #44973.
Replaces the
MagicMockprovider stand-in and patcheddb.sessionplaceholder (session=ANY) inTestApiProviderToController(api/tests/unit_tests/services/tools/test_tools_transform_service.py) with a realApiToolProvidermodel instance and the sharedunbound_sessionfixture while preserving the boundary-wiring assertions onApiToolProviderController.from_db.Screenshots
N/A (test-only change)
Checklist
make lint && make type-check(backend) andvp staged(frontend) to appease the lint gods