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(sdk): mirror eviction connect/reconnect loop in async monitor
Addresses review on #824: AsyncEvictionMonitor still had the pre-fix single-shot
_run, so AsyncDevbox.on_evict would silently never fire. Port the sync monitor's
fixes to sdk/async_eviction.py:
- request the SSE Accept header (text/event-stream) on watch_evictions
- reconnect with capped backoff until no devbox is still interested
Also ruff-format sdk/eviction.py (the sync fix wrapped a call that fits on one line).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments