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
databricks-sql-nodejs#416 (gopalldb P1):
- P1.1: `seaCancel` no longer rolls `isCancelled` back to false when the kernel
cancel RPC fails. The caller asked to cancel, so the op stays cancelled
(subsequent fetches fail fast, poll-loop observers stay consistent); the RPC
failure is still surfaced via the rethrow. Rolling back silently resurrected a
cancelled op while the server statement might still run. Test asserts the flag
stays set on failure.
- P1.5: the async poll loop now best-effort `close()`s the kernel statement on
every server-driven terminal error (Failed / Cancelled / Closed / Unknown /
Timeout) before throwing — previously it leaked the statement handle until
session close (only `fetchChunk` cleaned up). Warn-logs a close failure.
- P1.3: `customCaCert` PEM check is now an ordered regex
(`BEGIN…END` block) instead of two independent substring checks, so a blob
containing both markers out of order (e.g. a proxy-intercept page) is rejected.
- P1.4: warn when `customCaCert` is set together with
`checkServerCertificate: false` — verification is fully off so the custom CA
is unused; the combo is still honoured but no longer silently masks it.
- P1.6: the Thrift `rowLimit`/`statementConf` ignored-option signal is now a
WARN (was debug) — these materially change results (e.g. `rowLimit` not
capping), so a caller on the Thrift path gets a visible warning.
P1.2 (race in-flight `status()` against a cancel signal) deferred: bounded by the
HTTP transport timeout today; the proper fix needs a cancel-signal promise +
napi `AbortSignal`, which the binding doesn't yet expose — tracked as a
follow-up.
Validated: tsc/eslint/prettier clean; 243 SEA / 1162 full unit tests pass; live
smoke confirms both modes execute correctly.
Co-authored-by: Isaac
Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
0 commit comments