Files
temp/features/steps
freemo 68f9871f33 fix(test): resolve structlog cache interference in LSP and retry test suites
structlog's cache_logger_on_first_use=True causes module-level loggers
to permanently cache their processor chain on first use. Tests using
capture_logs() reconfigure processors, but cached loggers never pick up
the new configuration — resulting in empty capture lists.

Fixed by adding custom capture context managers that:
1. Temporarily disable logger caching
2. Replace the module-level logger with a fresh uncached instance
3. Restore original logger and config on exit

Fixes 11 LSP server stub scenarios and 2 retry policy wiring scenarios.
2026-04-04 23:08:32 +00:00
..
2026-02-20 20:38:53 +00:00