Skip to content

feat(server): implement Resource Scoping for tasks and push notifications #2358

feat(server): implement Resource Scoping for tasks and push notifications

feat(server): implement Resource Scoping for tasks and push notifications #2358

Triggered via pull request February 18, 2026 16:19
Status Failure
Total duration 38s
Artifacts

linter.yaml

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

Annotations

16 errors and 8 notices
Lint Code Base
Process completed with exit code 1.
Lint Code Base
3 errors
Lint Code Base: src/a2a/server/tasks/inmemory_push_notification_config_store.py#L49
Method "delete_info" overrides class "PushNotificationConfigStore" in an incompatible manner   Positional parameter count mismatch; base method has 4, but override has 3   Parameter 4 mismatch: base parameter "context" is keyword parameter, override parameter is position-only (reportIncompatibleMethodOverride)
Lint Code Base: src/a2a/server/tasks/inmemory_push_notification_config_store.py#L44
Method "get_info" overrides class "PushNotificationConfigStore" in an incompatible manner   Positional parameter count mismatch; base method has 3, but override has 2   Parameter 3 mismatch: base parameter "context" is keyword parameter, override parameter is position-only (reportIncompatibleMethodOverride)
Lint Code Base: src/a2a/server/tasks/inmemory_push_notification_config_store.py#L26
Method "set_info" overrides class "PushNotificationConfigStore" in an incompatible manner   Positional parameter count mismatch; base method has 4, but override has 3   Parameter 4 mismatch: base parameter "context" is keyword parameter, override parameter is position-only (reportIncompatibleMethodOverride)
Lint Code Base
Process completed with exit code 1.
Ruff (D415): alembic/versions/6419d2d130f6_add_owner_to_task.py#L1
alembic/versions/6419d2d130f6_add_owner_to_task.py:1:1: D415 First line should end with a period, question mark, or exclamation point
Ruff (INP001): alembic/versions/6419d2d130f6_add_owner_to_task.py#L1
alembic/versions/6419d2d130f6_add_owner_to_task.py:1:1: INP001 File `alembic/versions/6419d2d130f6_add_owner_to_task.py` is part of an implicit namespace package. Add an `__init__.py`.
Ruff (ANN201): alembic/env.py#L77
alembic/env.py:77:5: ANN201 Missing return type annotation for public function `run_migrations_online`
Ruff (D205): alembic/env.py#L62
alembic/env.py:62:5: D205 1 blank line required between summary line and description
Ruff (ANN201): alembic/env.py#L61
alembic/env.py:61:11: ANN201 Missing return type annotation for public function `run_async_migrations`
Ruff (ANN001): alembic/env.py#L54
alembic/env.py:54:23: ANN001 Missing type annotation for function argument `connection`
Ruff (D103): alembic/env.py#L54
alembic/env.py:54:5: D103 Missing docstring in public function
Ruff (ANN201): alembic/env.py#L54
alembic/env.py:54:5: ANN201 Missing return type annotation for public function `do_run_migrations`
Ruff (ERA001): alembic/env.py#L26
alembic/env.py:26:1: ERA001 Found commented-out code
Ruff (INP001): alembic/env.py#L1
alembic/env.py:1:1: INP001 File `alembic/env.py` is part of an implicit namespace package. Add an `__init__.py`.
Lint Code Base
repository contains 26 duplications. 7 duplications were part of this PR and were annotated
Copy/pasted code: src/a2a/client/transports/base.py#L61
see src/a2a/client/client.py (129-188)
Copy/pasted code: src/a2a/client/client.py#L129
see src/a2a/client/transports/base.py (61-120)
Copy/pasted code: src/a2a/client/transports/rest.py#L277
see src/a2a/client/transports/grpc.py (185-197)
Copy/pasted code: src/a2a/client/transports/grpc.py#L185
see src/a2a/client/transports/rest.py (277-289)
Copy/pasted code: src/a2a/server/request_handlers/grpc_handler.py#L324
see src/a2a/server/request_handlers/grpc_handler.py (199-210)
Copy/pasted code: src/a2a/server/tasks/inmemory_task_store.py#L8
see src/a2a/server/tasks/database_task_store.py (33-43)
Copy/pasted code: src/a2a/server/tasks/database_task_store.py#L33
see src/a2a/server/tasks/inmemory_task_store.py (8-18)