luc-pimentel commented on issue #69743:
URL: https://github.com/apache/airflow/issues/69743#issuecomment-6620809468
Reproduced on 3.3.2, 3.4.0rc2 and main (2026-11-03). `AirflowException` goes
through the same round trip and keeps its args.
| Input | `.args` after the round trip |
|---|---|
| `AirflowException("boom")` | `('boom',)` |
| `KeyError("boom")` | `(('boom',),)` |
| `AttributeError("boom")` | `(('boom',),)` |
| `KeyError("a", "b")` | `(('a', 'b'),)` |
| `KeyError()` | `((),)` |
The `KeyError`/`AttributeError` branch of `BaseSerialization.serialize`
stores `[var.args]`, and deserializing calls `exc_cls(*args)`, so the whole
tuple becomes the one argument.
Fix in #76407.
---
Drafted-by: Claude Code (claude-opus-5-5); reviewed by @luc-pimentel before
posting
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]