potiuk opened a new pull request, #63309:
URL: https://github.com/apache/airflow/pull/63309
## Summary
- Fix intermittent failures in `test_no_log_when_no_plugins` and
`test_loads_filesystem_plugins`
caused by OpenTelemetry's `BatchSpanProcessor` logging transient
connection errors when trying
to export spans to `localhost:4318` (no collector running)
- Filter out `opentelemetry.*` log records from the `caplog.record_tuples ==
[]` assertions since
they are infrastructure noise unrelated to plugin loading behavior
## Test plan
- [ ] Run `uv run --project airflow-core pytest
airflow-core/tests/unit/plugins/test_plugins_manager.py -xvs`
- [ ] Verify the two affected tests pass consistently
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Opus 4.6
Generated-by: Claude Opus 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]