Skip to content

feat(jsonrpc): add option to disable oversized payload check in JSONRPC applications #1951

feat(jsonrpc): add option to disable oversized payload check in JSONRPC applications

feat(jsonrpc): add option to disable oversized payload check in JSONRPC applications #1951

Triggered via pull request November 14, 2025 15:51
Status Failure
Total duration 47s
Artifacts

linter.yaml

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

Annotations

3 errors and 4 notices
Lint Code Base
Process completed with exit code 1.
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.14.5/x86_64/ruff' failed with exit code 1
Ruff (PLR0912): src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L268
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:268:15: PLR0912 Too many branches (13 > 12)
Lint Code Base
repository contains 20 duplications. 3 duplications were part of this PR and were annotated
Copy/pasted code: src/a2a/server/apps/jsonrpc/fastapi_app.py#L69
see src/a2a/server/apps/rest/rest_adapter.py (55-82)
Copy/pasted code: src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L177
see src/a2a/server/apps/rest/rest_adapter.py (55-82)
Copy/pasted code: src/a2a/server/apps/jsonrpc/starlette_app.py#L51
see src/a2a/server/apps/rest/rest_adapter.py (55-66)