The GitHub Actions job "Tests" on airflow.git/backport-8310049-v3-2-test has succeeded. Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run: 92d324058916921adae9e618e437961b91fa500d / Chris Premus <[email protected]> [v3-2-test] Stringify task_instance.id when setting OTEL span attribute (#66053) * Stringify task_instance.id when setting OTEL span attribute The execution API's _emit_task_span() was setting the "airflow.task_instance.id" span attribute to the raw UUID object. The OTEL SDK only accepts str/bytes/int/float/bool attribute values (or homogeneous sequences thereof), so it dropped the attribute and logged a warning per task state transition: Invalid type UUID for attribute 'airflow.task_instance.id' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types The fix is to stringify the UUID, matching the convention already used in the same module (e.g. bind_contextvars(ti_id=str(...))). The bug was introduced in #63839 and ships in 3.2.0 / 3.2.1. Signed-off-by: Chris <[email protected]> * Add newsfragment for OTEL UUID attribute fix Signed-off-by: Chris <[email protected]> * Drop newsfragment per review feedback Reviewer (henry3260) noted the newsfragment isn't needed for this fix. --------- (cherry picked from commit 8310049a654d2762681564ce98c51f10c1020fd2) Co-authored-by: Chris Premus <[email protected]> Signed-off-by: Chris <[email protected]> Report URL: https://github.com/apache/airflow/actions/runs/25616774125 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
