Skip to content

Fix all type errors #646

Fix all type errors

Fix all type errors #646

Triggered via pull request September 2, 2025 12:17
Status Success
Total duration 5m 24s
Artifacts 4

ci.yml

on: pull_request
Lint & Type Check
1m 0s
Lint & Type Check
Matrix: test-core
Batch Evaluation Tests
1m 12s
Batch Evaluation Tests
MCP End-to-End Tests
43s
MCP End-to-End Tests
Upload Coverage
12s
Upload Coverage
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 3 warnings
Lint & Type Check
6 errors
Lint & Type Check: eval_protocol/pytest/default_langchain_rollout_processor.py#L94
Argument of type "BaseMessage" cannot be assigned to parameter "msg" of type "BaseMessage" in function "serialize_lc_message_to_ep"   "eval_protocol.pytest.default_langchain_rollout_processor.BaseMessage" is not assignable to "langchain_core.messages.base.BaseMessage" (reportArgumentType)
Lint & Type Check: eval_protocol/pytest/default_langchain_rollout_processor.py#L35
Type "type[langchain_core.messages.human.HumanMessage]" is not assignable to declared type "type[eval_protocol.pytest.default_langchain_rollout_processor.LangGraphRolloutProcessor.HumanMessage]"   "langchain_core.messages.human.HumanMessage" is not assignable to "eval_protocol.pytest.default_langchain_rollout_processor.LangGraphRolloutProcessor.HumanMessage"   Type "type[langchain_core.messages.human.HumanMessage]" is not assignable to type "type[eval_protocol.pytest.default_langchain_rollout_processor.LangGraphRolloutProcessor.HumanMessage]" (reportAssignmentType)
Lint & Type Check: eval_protocol/pytest/default_langchain_rollout_processor.py#L5
Type "type[langchain_core.messages.base.BaseMessage]" is not assignable to declared type "type[eval_protocol.pytest.default_langchain_rollout_processor.BaseMessage]"   "langchain_core.messages.base.BaseMessage" is not assignable to "eval_protocol.pytest.default_langchain_rollout_processor.BaseMessage"   Type "type[langchain_core.messages.base.BaseMessage]" is not assignable to type "type[eval_protocol.pytest.default_langchain_rollout_processor.BaseMessage]" (reportAssignmentType)
Lint & Type Check: eval_protocol/mcp_servers/tau2/tests/test_tau2_e2e.py#L758
Argument of type "List[dict[Unknown, Unknown]] | None" cannot be assigned to parameter "actions" of type "list[Action] | None" in function "__init__"   Type "List[dict[Unknown, Unknown]] | None" is not assignable to type "list[Action] | None"     Type "List[dict[Unknown, Unknown]]" is not assignable to type "list[Action] | None"       "List[dict[Unknown, Unknown]]" is not assignable to "list[Action]"         Type parameter "_T@list" is invariant, but "dict[Unknown, Unknown]" is not the same as "Action"         Consider switching from "list" to "Sequence" which is covariant       "List[dict[Unknown, Unknown]]" is not assignable to "None" (reportArgumentType)
Lint & Type Check: eval_protocol/adapters/langfuse.py#L16
"Langfuse" is not exported from module "langfuse"   Import from "langfuse._client.client" instead (reportPrivateImportUsage)
Lint & Type Check: eval_protocol/adapters/bigquery.py#L197
Except clause is unreachable because exception is already handled   "Exception" is a subclass of "Exception" (reportUnusedExcept)
Lint & Type Check: eval_protocol/mcp/__init__.py#L49
Operation on "__all__" is not supported, so exported symbol list may be incorrect (reportUnsupportedDunderAll)
Lint & Type Check: eval_protocol/mcp/__init__.py#L49
Operation on "__all__" is not supported, so exported symbol list may be incorrect (reportUnsupportedDunderAll)
MCP End-to-End Tests
No files were found with the provided path: coverage.xml. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
coverage-batch-eval Expired
33.8 KB
sha256:718c2785b2951aec0588baeb72a06b239e01a7301550c730cb4097041fddefe1
coverage-core-3.10 Expired
41.1 KB
sha256:50c9f8f8e36a1407c54805831d91da27836343d164f3a4cb89eeb2faae5878c1
coverage-core-3.11 Expired
41.1 KB
sha256:64b2792498c20be090387922f86884eba7cf9174aa2060f30d27b0d38edcaabf
coverage-core-3.12 Expired
41.1 KB
sha256:a293f0d50ba5decc3c1ecb0277c76605d3042c85776ff59e620e6d91ae379fca