Files
crewAI/conftest.py
copilot-swe-agent[bot] 0344f74755 Fix test isolation: reset TraceCollectionListener singleton in cleanup_event_handlers fixture
Prevents singleton state pollution (trace_batch_id="debug-trace-batch") from
test_flow_conversation.py leaking into test_trace_enable_disable.py when both
files run in the same pytest-xdist worker under --dist=loadfile. The polluted
singleton caused a background HTTP request to fake.crewai.com that corrupted
VCR cassette state, preventing the OpenAI LLM entry from matching.
2026-06-15 20:28:25 +00:00

18 KiB