Skip to content

refactor(server)!: migrate from Application wrappers to Starlette route-based endpoints for rest #3037

refactor(server)!: migrate from Application wrappers to Starlette route-based endpoints for rest

refactor(server)!: migrate from Application wrappers to Starlette route-based endpoints for rest #3037

Triggered via pull request March 23, 2026 16:15
Status Failure
Total duration 1m 11s
Artifacts

linter.yaml

on: pull_request
Lint Code Base
1m 7s
Lint Code Base
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 1 warning, and 6 notices
Lint Code Base
Process completed with exit code 1.
Lint Code Base
Process completed with exit code 1.
Lint Code Base
Process completed with exit code 1.
Lint Code Base
Process completed with exit code 1.
ruff (INP001): src/a2a/server/apps/rest/rest_adapter.py#L1
src/a2a/server/apps/rest/rest_adapter.py:1:1: INP001 File `src/a2a/server/apps/rest/rest_adapter.py` is part of an implicit namespace package. Add an `__init__.py`.
ruff (INP001): src/a2a/server/apps/rest/fastapi_app.py#L1
src/a2a/server/apps/rest/fastapi_app.py:1:1: INP001 File `src/a2a/server/apps/rest/fastapi_app.py` is part of an implicit namespace package. Add an `__init__.py`.
Lint Code Base
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: getunlatch/jscpd-github-action@v1.3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint Code Base
repository contains 37 duplications. 5 duplications were part of this PR and were annotated
Copy/pasted code: src/a2a/server/routes/rest_routes.py#L54
see src/a2a/server/routes/jsonrpc_routes.py (39-51)
Copy/pasted code: src/a2a/server/routes/jsonrpc_routes.py#L39
see src/a2a/server/routes/rest_routes.py (54-80)
Copy/pasted code: src/a2a/server/routes/rest_routes.py#L150
see src/a2a/server/apps/rest/rest_adapter.py (150-162)
Copy/pasted code: src/a2a/server/routes/rest_routes.py#L56
see src/a2a/server/apps/rest/rest_adapter.py (81-80)
Copy/pasted code: src/a2a/server/routes/rest_routes.py#L13
see src/a2a/server/apps/rest/rest_adapter.py (41-54)