The GitHub Actions job "Tests (AMD)" on airflow.git/main has succeeded. Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run: 354391bbccc1658ce66d8ec2e2e415e6a01aa7a4 / Jarek Potiuk <[email protected]> Check sensitive key names before applying recursion-depth cutoff in secrets masker (#65912) `SecretsMasker._redact` short-circuited on `depth > max_depth` before checking whether the current key name was sensitive (`should_hide_value_for_key(name)`). For sensitive keys nested beyond the recursion depth (default 5), the original value was returned unchanged instead of being replaced with `***`. Move the depth cutoff inside the `try:` block, after the sensitive-key check, and let dict traversal continue past the cutoff so deeper sensitive keys are still caught. Non-dict containers and the string-pattern masker keep the depth-bounded behavior the cutoff was added for. JSON-loaded payloads cannot be self-referential, and any in-memory cycle hits Python's own recursion limit and falls through the existing exception handler to "<redaction-failed>", which preserves the fail-closed property. Generated-by: Claude Opus 4.7 (1M context) following the guidelines at https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions Report URL: https://github.com/apache/airflow/actions/runs/25710676430 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
