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
Update PRAGMA deny-list integration tests for busy_timeout interception
The pre-existing pin asserted PRAGMA busy_timeout (both setter and
getter forms) raises DatabaseError("not authorized") from the
server's VFS authorizer. With the dbapi-layer interception now in
place, the PRAGMA is intercepted at the cursor's execute path
BEFORE the wire send — the server never sees it, so the
"not authorized" error never fires.
Drop the busy_timeout entries from _DENIED_PRAGMAS_SYNC and add
positive pins for the new behaviour: the setter form updates
connection._busy_timeout and emits the value as a row; the getter
form emits the current value. Tests run against the live cluster
to verify the user-observable behaviour end-to-end (the unit-test
test_pragma_busy_timeout_intercept.py covers the interception
logic against a fake cursor).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments