Functiontest_on_task_failed_closes_the_span_as_error_either_wayWiring-level coverage, including the case that used to leak the span entirely. Two defects on one line. The handler routed to ``task_ended``, whi
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:299