The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user ephraimbuddy (triggered by ephraimbuddy).

Head commit for run:
25e315995e53afef83fe310426c29e3bea14cd27 / Ash Berlin-Taylor <[email protected]>
Remove worrying log message about redaction from the OpenLineage plugin (#31149)

The current published plugin calls `_redact_all` directly, so when we
added the `max_depth` parameter in 2.6 (precisely so it didn't need to
call this private function directly!) we broke that.

This change leads to some worrying logs appearing in task logs for
anyone with the plugin installed:

```
[2023-05-05, 11:56:17 BST] {utils.py:490} WARNING - Unable to redact []Error 
was: TypeError: SecretsMasker._redact_all() missing 1 required positional 
argument: 'max_depth'
[2023-05-05, 11:56:17 BST] {utils.py:490} WARNING - Unable to redact []Error 
was: TypeError: SecretsMasker._redact_all() missing 1 required positional 
argument: 'max_depth'
[2023-05-05, 11:56:17 BST] {utils.py:490} WARNING - Unable to redact NoneError 
was: TypeError: SecretsMasker._redact_all() missing 1 required positional 
argument: 'max_depth'
```

This patch makes that previous change backwards compatible for that with
no change in behaviour for new code.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to