Skip to content

refactor(server)!: remove Starlette and FastAPI utilities and rely only on routes #2960

refactor(server)!: remove Starlette and FastAPI utilities and rely only on routes

refactor(server)!: remove Starlette and FastAPI utilities and rely only on routes #2960

Triggered via pull request March 19, 2026 13:14
Status Failure
Total duration 1m 7s
Artifacts

linter.yaml

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

Annotations

3 errors, 1 warning, and 4 notices
Lint Code Base
Process completed with exit code 1.
Lint Code Base
Process completed with exit code 1.
ruff (I001): samples/hello_world_agent.py#L1
samples/hello_world_agent.py:1:1: I001 Import block is un-sorted or un-formatted help: Organize imports
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 28 duplications. 3 duplications were part of this PR and were annotated
Copy/pasted code: src/a2a/server/routes/rest_routes.py#L81
see src/a2a/server/routes/jsonrpc_dispatcher.py (197-206)
Copy/pasted code: src/a2a/server/routes/rest_routes.py#L78
see src/a2a/server/routes/jsonrpc_route.py (46-59)
Copy/pasted code: src/a2a/server/routes/jsonrpc_route.py#L46
see src/a2a/server/routes/rest_routes.py (78-91)