Repository navigation
Conversation
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-10-25 15:40:13.756990196 +0000
+++ /tmp/pyrefly_pr.txt 2026-10-25 15:40:03.280914899 +0000
@@ -5391,39 +5391,39 @@
ERROR Object of class `object` has no attribute `tool` [missing-attribute]
--> tests/unit_tests/core/workflow/test_node_runtime.py:2164: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:1045: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:1102: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:1235: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:1667: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:1667: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:1672: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:1775: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:1780: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:1781: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: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:1748: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:1749:17
+ --> tests/unit_tests/core/workflow/test_workflow_entry.py:1784: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:1811: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:1814: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:1815: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:1816: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:1817: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]
|
Contributor
Pyrefly Type Coverage
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #44654 +/- ##
==========================================
- Coverage 89.30% 89.30% -0.01%
==========================================
Files 5983 5983
Lines 375009 375009
Branches 76051 76051
==========================================
- Hits 334895 334890 -5
- Misses 34078 34082 +4
- Partials 6036 6037 +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:
|
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
Fixes #44573.
Add eight regression cases for Code nodes referencing an iteration item's
name,extension,mime_type, orsize, covering both qualified and unqualified debug-input keys.The reported 1.16.0 mapper writes the three-part selector directly into
VariablePool.add, which only accepts two parts. Main already reconstructs the root variable throughadd_node_input_to_variable_poolafter #40277. This PR covers that existing fix; it does not change runtime behavior or backport the fix to 1.16.x.Validation
uv run --project api --no-sync pytest -q api/tests/unit_tests/core/workflow/test_workflow_entry.py api/tests/unit_tests/services/test_workflow_node_variables.py -o 'addopts=--import-mode=importlib -p no:opik -p no:langsmith_plugin': 98 passed.Checklist
make lint && make type-check. (Targeted checks and existing type-check failures are recorded above.)From Codex