Skip to content

Conversation

@ashb
Copy link
Member

@ashb ashb commented Aug 2, 2025

Previously this both logged the item, and returned the unable-to-be-redacted item unchanged.

Lets play it safe, only log the type that failed and return a known-to-be-safe string in cases like this.

Previously this both logged the item, and returned the unable-to-be-redacted
item unchanged.

Lets play it safe, only log the type that failed and return a known-to-be-safe
string in cases like this.
@ashb ashb requested review from amoghrajesh and kaxil as code owners August 2, 2025 07:17
@ashb ashb added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Aug 2, 2025
@ashb ashb requested a review from potiuk August 2, 2025 07:25
@ashb ashb merged commit 93ba1c5 into apache:main Aug 2, 2025
78 checks passed
@ashb ashb deleted the safer-redaction-fallback branch August 2, 2025 08:51
github-actions bot pushed a commit that referenced this pull request Aug 2, 2025
…an error (#54046)

(cherry picked from commit 93ba1c5)

Co-authored-by: Ash Berlin-Taylor <ash@apache.org>
@github-actions
Copy link

github-actions bot commented Aug 2, 2025

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 2, 2025
…an error (apache#54046)

(cherry picked from commit 93ba1c5)

Co-authored-by: Ash Berlin-Taylor <ash@apache.org>
ashb added a commit that referenced this pull request Aug 2, 2025
…an error (#54046) (#54048)

* [v3-0-test] Make log redaction safer in edge case when redaction has an error (#54046)
(cherry picked from commit 93ba1c5)

* Fix bad mocking in test

Co-authored-by: Ash Berlin-Taylor <ash@apache.org>
github-actions bot pushed a commit to guan404ming/airflow that referenced this pull request Aug 2, 2025
…an error (apache#54046)

(cherry picked from commit 93ba1c5)

Co-authored-by: Ash Berlin-Taylor <ash@apache.org>
ferruzzi pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:task-sdk backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants