Skip to content

fix: Re-constructing Agent RPC URL in the AgentCard using the card's request attributes #1526

fix: Re-constructing Agent RPC URL in the AgentCard using the card's request attributes

fix: Re-constructing Agent RPC URL in the AgentCard using the card's request attributes #1526

Triggered via pull request August 20, 2025 21:22
Status Failure
Total duration 54s
Artifacts

linter.yaml

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

Annotations

7 errors and 5 notices
Lint Code Base
Process completed with exit code 1.
Lint Code Base
Process completed with exit code 1.
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.12.9/x86_64/ruff' failed with exit code 1
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.12.9/x86_64/ruff' failed with exit code 1
Ruff (ANN202): src/a2a/server/apps/rest/rest_adapter.py#L195
src/a2a/server/apps/rest/rest_adapter.py:195:9: ANN202 Missing return type annotation for private function `_modify_rpc_url`
Ruff (ANN202): src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L491
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:491:9: ANN202 Missing return type annotation for private function `_modify_rpc_url`
Lint Code Base
repository contains 23 duplications. 4 duplications were part of this PR and were annotated
Copy/pasted code: src/a2a/server/apps/rest/rest_adapter.py#L193
see src/a2a/server/apps/jsonrpc/jsonrpc_app.py (489-543)
Copy/pasted code: src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L489
see src/a2a/server/apps/rest/rest_adapter.py (193-247)
Copy/pasted code: src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L58
see src/a2a/server/apps/jsonrpc/jsonrpc_app.py (71-81)
Copy/pasted code: src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L71
see src/a2a/server/apps/jsonrpc/jsonrpc_app.py (58-68)