Skip to content

fix: fix error handling for gRPC and SSE streaming #2989

fix: fix error handling for gRPC and SSE streaming

fix: fix error handling for gRPC and SSE streaming #2989

Triggered via pull request March 20, 2026 10:41
Status Failure
Total duration 1m 10s
Artifacts

linter.yaml

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

Annotations

8 errors, 1 warning, and 1 notice
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 (RSE102): src/a2a/server/request_handlers/grpc_handler.py#L321
src/a2a/server/request_handlers/grpc_handler.py:321:36: RSE102 Unnecessary parentheses on raised exception help: Remove unnecessary parentheses
ruff (RSE102): src/a2a/server/request_handlers/grpc_handler.py#L219
src/a2a/server/request_handlers/grpc_handler.py:219:36: RSE102 Unnecessary parentheses on raised exception help: Remove unnecessary parentheses
ruff (F401): src/a2a/server/request_handlers/grpc_handler.py#L37
src/a2a/server/request_handlers/grpc_handler.py:37:78: F401 `a2a.utils.errors.UnsupportedOperationError` imported but unused help: Remove unused import: `a2a.utils.errors.UnsupportedOperationError`
ruff (I001): src/a2a/server/request_handlers/grpc_handler.py#L21
src/a2a/server/request_handlers/grpc_handler.py:21:1: I001 Import block is un-sorted or un-formatted help: Organize imports
ruff (I001): src/a2a/server/request_handlers/grpc_handler.py#L2
src/a2a/server/request_handlers/grpc_handler.py:2: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 36 duplications. 0 duplications were part of this PR and were annotated