fix: Resolve issue with UUID in telemetry (#524)

<!-- .github/pull_request_template.md -->

## Description
Fixes sending of UUID through telemetry

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Enhanced telemetry logging by ensuring identifiers are consistently
formatted. This improvement helps prevent type-related issues during
logging and boosts overall reliability without affecting task execution
or user-facing functionality.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Igor Ilic 2025-02-11 18:31:53 +01:00 committed by GitHub
parent 2a04fa3738
commit ebd1d2adbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -234,7 +234,7 @@ async def run_tasks_with_telemetry(tasks: list[Task], data, pipeline_name: str):
"Pipeline Run Started",
user.id,
additional_properties={
"pipeline_name": pipeline_name,
"pipeline_name": str(pipeline_name),
}
| config,
)
@ -247,7 +247,7 @@ async def run_tasks_with_telemetry(tasks: list[Task], data, pipeline_name: str):
"Pipeline Run Completed",
user.id,
additional_properties={
"pipeline_name": pipeline_name,
"pipeline_name": str(pipeline_name),
},
)
except Exception as error:
@ -261,7 +261,7 @@ async def run_tasks_with_telemetry(tasks: list[Task], data, pipeline_name: str):
"Pipeline Run Errored",
user.id,
additional_properties={
"pipeline_name": pipeline_name,
"pipeline_name": str(pipeline_name),
}
| config,
)