dcfdc8deec
Record correction: the previous commit's message says the async flavor offloads mark_suspect via asyncio.to_thread — it does NOT (and must not). The mark is deliberately inline on the event loop: running it synchronously guarantees mark-happens-before-BoundedResult-return and mark-before-on_abandon-cleanup (cleanup is ensure_future'd and cannot start until the next loop tick). An offloaded mark would race both. The trade-off is that a slow adopter mark_suspect would block the loop (measured: a 2s mark stalls every coroutine for 2.003s), so the adopter contract is now explicit in the Protocol docstring and at the async call site: mark_suspect must be cheap, non-blocking, lock-free; expensive recycle work belongs in ensure_healthy. New pins so the negotiated semantics can't silently regress: - test_sync_mark_happens_before_on_timeout (the review-round ordering) - test_async_mark_happens_before_on_abandon_cleanup (the scheduling invariant an offloaded mark would break) - test_sync_completion_never_marks_backend (sync counterpart of the async completion test)