The GitHub Actions job "Tests" on airflow.git/backport-1533ecf-v3-1-test has 
failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
6ec30f41add8fa6d2d6f35640493d30ec899a67c / Jarek Potiuk <[email protected]>
[v3-1-test] Fix recursion depth error in _redact_exception_with_context (#61776)

* Fix recursion depth error in _redact_exception_with_context

Fix recursion depth check in _redact_exception_with_context_or_cause.
There are some obscure cases where exception might point to itself
in cause/context - this PR protects against it.

Changed name to include cause as well.

Initially implemented as a fix to v2-11-test in #61254 - enhanced
with the case of removal of too-deep exceptions rather than
not-redacting it (and replacing it with sentinel exception explaining
that reminder of the stack trace has been removed.

Co-authored-by: Anton Nitochkin <[email protected]>

* Apply suggestions from code review

Co-authored-by: Copilot <[email protected]>

---------
(cherry picked from commit 1533ecf96d314d8e17501d2189abf4245283abd8)

Co-authored-by: Jarek Potiuk <[email protected]>
Co-authored-by: Anton Nitochkin <[email protected]>
Co-authored-by: Copilot <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to