Skip to content

Test UUID

Test UUID #1410

Triggered via pull request August 11, 2025 18:28
@holtskinnerholtskinner
synchronize #395
test-uuid
Status Failure
Total duration 49s
Artifacts

linter.yaml

on: pull_request
Lint Code Base
45s
Lint Code Base
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 1 notice
Lint Code Base
Process completed with exit code 1.
Lint Code Base: src/a2a/server/request_handlers/default_request_handler.py#L142
Argument of type "UUID" cannot be assigned to parameter "task_id" of type "str | None" in function "__init__"   Type "UUID" is not assignable to type "str | None"     "UUID" is not assignable to "str"     "UUID" is not assignable to "None" (reportArgumentType)
Lint Code Base: src/a2a/server/request_handlers/default_request_handler.py#L135
Argument of type "UUID" cannot be assigned to parameter "task_id" of type "str" in function "tap"   "UUID" is not assignable to "str" (reportArgumentType)
Lint Code Base: src/a2a/server/request_handlers/default_request_handler.py#L129
Argument of type "UUID" cannot be assigned to parameter "context_id" of type "str | None" in function "__init__"   Type "UUID" is not assignable to type "str | None"     "UUID" is not assignable to "str"     "UUID" is not assignable to "None" (reportArgumentType)
Lint Code Base: src/a2a/server/request_handlers/default_request_handler.py#L128
Argument of type "UUID" cannot be assigned to parameter "task_id" of type "str | None" in function "__init__"   Type "UUID" is not assignable to type "str | None"     "UUID" is not assignable to "str"     "UUID" is not assignable to "None" (reportArgumentType)
Lint Code Base: src/a2a/server/request_handlers/default_request_handler.py#L123
Argument of type "UUID" cannot be assigned to parameter "task_id" of type "str" in function "get"   "UUID" is not assignable to "str" (reportArgumentType)
Lint Code Base: src/a2a/server/request_handlers/default_request_handler.py#L111
Argument of type "UUID" cannot be assigned to parameter "task_id" of type "str" in function "get"   "UUID" is not assignable to "str" (reportArgumentType)
Lint Code Base: src/a2a/client/client_task_manager.py#L166
Cannot assign to attribute "_context_id" for class "ClientTaskManager*"   Type "UUID" is not assignable to type "str | None"     "UUID" is not assignable to "str"     "UUID" is not assignable to "None" (reportAttributeAccessIssue)
Lint Code Base: src/a2a/client/client_task_manager.py#L165
Cannot assign to attribute "_task_id" for class "ClientTaskManager*"   Type "UUID" is not assignable to type "str | None"     "UUID" is not assignable to "str"     "UUID" is not assignable to "None" (reportAttributeAccessIssue)
Lint Code Base: src/a2a/client/client_task_manager.py#L99
Cannot assign to attribute "_context_id" for class "ClientTaskManager*"   Type "UUID" is not assignable to type "str | None"     "UUID" is not assignable to "str"     "UUID" is not assignable to "None" (reportAttributeAccessIssue)
Lint Code Base: src/a2a/client/client_task_manager.py#L97
Cannot assign to attribute "_task_id" for class "ClientTaskManager*"   Type "Unknown | UUID" is not assignable to type "str | None"     Type "UUID" is not assignable to type "str | None"       "UUID" is not assignable to "str"       "UUID" is not assignable to "None" (reportAttributeAccessIssue)
Lint Code Base
Process completed with exit code 1.
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.12.8/x86_64/ruff' failed with exit code 1
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.12.8/x86_64/ruff' failed with exit code 1
Ruff (TC003): src/a2a/types.py#L8
src/a2a/types.py:8:18: TC003 Move standard library import `uuid.UUID` into a type-checking block
Lint Code Base
repository contains 19 duplications. 0 duplications were part of this PR and were annotated