Skip to content

feat: Revert code that enforces uuid structure on context id in tasks #1587

feat: Revert code that enforces uuid structure on context id in tasks

feat: Revert code that enforces uuid structure on context id in tasks #1587

Triggered via pull request August 22, 2025 20:31
Status Failure
Total duration 47s
Artifacts

linter.yaml

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

Annotations

3 errors and 1 notice
Lint Code Base
Process completed with exit code 1.
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.12.10/x86_64/ruff' failed with exit code 1
Ruff (SIM108): src/a2a/utils/task.py#L32
src/a2a/utils/task.py:32:5: SIM108 Use ternary operator `context_id = str(uuid.uuid4()) if not context_id_str else context_id_str` instead of `if`-`else`-block
Lint Code Base
repository contains 22 duplications. 0 duplications were part of this PR and were annotated