Files
67c37c7ae5 enhance: [CP2.6] Optimize Python test logging and distinguish xfail/xpass (#47589)
## Summary

Cherry-pick of 
pr: #47253
pr: #47588 
   to branch 2.6.

This PR backports the Python test log filter plugin enhancements:

1. **PR #47253**: Optimize Python test logging from 60MB to 3-5MB per
run
   - Conditional logging based on test outcome
   - Memory buffering to reduce disk I/O
   - Generates JSON and HTML reports

2. **PR #47588**: Distinguish xfail and xpass in test report
- Properly categorize xfail (expected failures) and xpass (unexpected
passes)
   - Add xfail/xpass sections in JSON and HTML reports
   - Include full logs for xpass tests (need investigation)

## Test plan

- [x] Cherry-pick applies cleanly
- [ ] Run tests with xfail markers to verify correct categorization
- [ ] Verify JSON and HTML reports generate correctly

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 20:19:52 +08:00
..