The GitHub Actions job "Tests (ARM)" on airflow.git/v3-3-test has failed.
Run started by GitHub user pierrejeambrun (triggered by pierrejeambrun).

Head commit for run:
0ed724b7c17ff19ffef23100fb0f4da1dd7ae99b / github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
[v3-3-test] Include server error detail in Task SDK API error tracebacks 
(#71440) (#71491)

* Include server error detail in Task SDK API error tracebacks

Internal SDK API errors keep the server's error payload as structured detail
behind a generic "Server returned error" message, so the detail only reached the
logs where a handler logged it explicitly. When such an error propagated 
uncaught
to a generic logger (e.g. the executor), the traceback showed only the generic
message and the detail was lost. Attaching the detail as an exception note — 
like
the existing correlation-id note — makes it visible in those tracebacks too.

* Update task-sdk/src/airflow/sdk/api/client.py



* Update task-sdk/tests/task_sdk/api/test_client.py



* Fix over-indented test docstring breaking the static check

The docstring was indented one space too deep, so the following line
unindented to a level that doesn't match, failing the mypy syntax check.

---------
(cherry picked from commit ede958a38d025049f28b570d9e6629192c243b8d)

Co-authored-by: Pierre Jeambrun <[email protected]>
Co-authored-by: Amogh Desai <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/31610872816

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to