Srujan-rai opened a new pull request, #67719:
URL: https://github.com/apache/airflow/pull/67719
Triggerer subprocess log reader called `event.pop("level")` without a
default, raising KeyError when a structlog event omits the "level" field.
Changed to `event.pop("level", "warning")` so missing-level events are
logged at WARNING instead of crashing the log processing loop.
Added tests covering missing level, unknown level, and valid level paths.
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (claude-sonnet-4-6)
Generated-by: Claude Code (claude-sonnet-4-6) following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
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]