Skip to content

perf: optimize logging performance and modernize string formatting #1519

perf: optimize logging performance and modernize string formatting

perf: optimize logging performance and modernize string formatting #1519

Triggered via pull request August 20, 2025 19:55
Status Failure
Total duration 49s
Artifacts

linter.yaml

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

Annotations

11 errors and 3 notices
Lint Code Base
Process completed with exit code 1.
Ruff (G004): src/a2a/server/tasks/base_push_notification_sender.py#L47
src/a2a/server/tasks/base_push_notification_sender.py:47:17: G004 Logging statement uses f-string
Ruff (G004): src/a2a/server/request_handlers/default_request_handler.py#L247
src/a2a/server/request_handlers/default_request_handler.py:247:17: G004 Logging statement uses f-string
Ruff (G004): src/a2a/server/events/event_queue.py#L214
src/a2a/server/events/event_queue.py:214:21: G004 Logging statement uses f-string
Ruff (G004): src/a2a/server/events/event_queue.py#L196
src/a2a/server/events/event_queue.py:196:25: G004 Logging statement uses f-string
Ruff (G004): src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L500
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:500:17: G004 Logging statement uses f-string
Ruff (G004): src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L425
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:425:21: G004 Logging statement uses f-string
Ruff (G004): src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L236
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:236:13: G004 Logging statement uses f-string
Ruff (G004): src/a2a/client/auth/interceptor.py#L86
src/a2a/client/auth/interceptor.py:86:33: G004 Logging statement uses f-string
Ruff (G004): src/a2a/client/auth/interceptor.py#L77
src/a2a/client/auth/interceptor.py:77:33: G004 Logging statement uses f-string
Ruff (G004): src/a2a/client/auth/interceptor.py#L65
src/a2a/client/auth/interceptor.py:65:33: G004 Logging statement uses f-string
Lint Code Base
repository contains 21 duplications. 2 duplications were part of this PR and were annotated
Copy/pasted code: src/a2a/utils/telemetry.py#L204
see src/a2a/utils/telemetry.py (239-257)
Copy/pasted code: src/a2a/utils/telemetry.py#L239
see src/a2a/utils/telemetry.py (204-222)