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
Add id(self) suffix to closed-handle InterfaceError messages
Closed-handle errors on Connection / AsyncConnection / Cursor /
AsyncCursor previously read just "Connection is closed" / "Cursor is
closed" — operators tailing logs from a multi-connection / multi-
cursor application could not tell which instance was the offender
from a single traceback. Add an `(id={id(self)})` suffix that the SA
dialect's is_disconnect substring classifier (base.py:1268) treats
as inert (the "connection is closed" / "cursor is closed" substring
remains intact at the start of the message).
The classifier-pin test in sqlalchemy-dqlite verifies the new shape
still routes through is_disconnect; this commit ships the dbapi-side
sweep.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments