Files
crewAI/tests/utilities
Devin AI 83f4493ff0 Address PR review feedback: enhance thread safety implementation
- Add logging import and structured error handling with logger
- Update class docstring to document thread safety guarantees
- Add thread-safe deregister_handler method with proper locking
- Add comprehensive tests for handler deregistration thread safety
- Add test for deregistering non-existent handlers
- Improve error handling with structured logging and exc_info
- Maintain backward compatibility while enhancing functionality

Addresses review suggestions from PR #2992 while keeping the core
thread safety fix intact and adding valuable enhancements.

Co-Authored-By: João <joao@crewai.com>
2025-06-11 02:31:18 +00:00
..
2024-12-10 11:18:45 -05:00
2025-05-16 15:18:11 -04:00
2024-05-02 05:00:29 -03:00