You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use SelectorEventLoop for in-thread uvicorn on Windows
On Windows, asyncio's default ProactorEventLoop can leave pipe transports
alive when the loop is destroyed in a background thread. Their __del__
warnings get picked up by pytest's unraisable-exception hook and
attributed to the next test.
Run the server on an explicit SelectorEventLoop (clean shutdown semantics
cross-platform) and force a GC pass at teardown so any remaining
destructor noise is absorbed before the next test starts.
0 commit comments